Skip to content

Conversation

@paraseba
Copy link
Collaborator

@paraseba paraseba commented Jun 3, 2025

Icechunk provides its own metadata consolidation mechanism.

Closes #962

@paraseba paraseba requested review from dcherian and jhamman June 3, 2025 19:21
@paraseba paraseba force-pushed the push-vqomprvwrymp branch 4 times, most recently from 799519f to 88d818c Compare June 3, 2025 22:46
)]
InvalidVirtualChunkContainer { chunk_location: String },
#[error(
"Icechunk has its own metadata consolidation mechanism. Please disable Zarr's metadata consolidation for writing data on Icechunk. If you are using Xarray, you can pass consolidate=False to to_zarr, or simply use Icechunk's to_icechunk which already disables consolidation."
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"Icechunk has its own metadata consolidation mechanism. Please disable Zarr's metadata consolidation for writing data on Icechunk. If you are using Xarray, you can pass consolidate=False to to_zarr, or simply use Icechunk's to_icechunk which already disables consolidation."
"Icechunk has its own metadata consolidation mechanism. Please disable Zarr's metadata consolidation for writing data on Icechunk. If you are using Xarray, you can pass `consolidated=False` to `Dataset.to_zarr`, or simply use `icechunk.xarray.to_icechunk` which disables consolidation."

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@dcherian
Copy link
Contributor

dcherian commented Jun 3, 2025

My concern here is that this will break existing code & pipelines.

@paraseba paraseba force-pushed the push-vqomprvwrymp branch from 88d818c to d694e6a Compare June 4, 2025 00:08
@paraseba
Copy link
Collaborator Author

paraseba commented Jun 4, 2025

My concern here is that this will break existing code & pipelines.

@dcherian: But, aren't those pipelines already broken because they are not setting consolidated=False?

@paraseba paraseba force-pushed the push-vqomprvwrymp branch 5 times, most recently from e5c994c to b06b186 Compare June 4, 2025 14:34
Icechunk provides its own metadata consolidation mechanism.

Closes #962
@paraseba
Copy link
Collaborator Author

We are going to use a different approach

@paraseba paraseba closed this Jun 10, 2025
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.

Icechunk should fail early if user tries to write with consolidated metadata

3 participants