Skip to content

Conversation

@brokkoli71
Copy link
Member

@brokkoli71 brokkoli71 commented Jan 26, 2026

  • fixes [v2] Further Tests #20
  • adds deleting unused chunk data on Array.resize that can be disabled with resizeMetadataOnly argument.

# Conflicts:
#	src/test/java/dev/zarr/zarrjava/TestUtils.java
@brokkoli71 brokkoli71 marked this pull request as ready for review January 26, 2026 12:58
@brokkoli71 brokkoli71 requested a review from normanrz January 26, 2026 12:58
Copy link
Member

@normanrz normanrz left a comment

Choose a reason for hiding this comment

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

Nice work!

}

@Test
public void testUpdateAttributesBehavior() throws IOException, ZarrException {
Copy link
Member

Choose a reason for hiding this comment

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

In Zarr v2, should the .zattrs file be deleted if there are no attributes? Can you check what zarr-python does?

Copy link
Member Author

Choose a reason for hiding this comment

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

zarr-python always creates and keeps the .zattrs for groups and arrays

@brokkoli71 brokkoli71 self-assigned this Jan 30, 2026
# Conflicts:
#	src/main/java/dev/zarr/zarrjava/v3/Group.java
@brokkoli71 brokkoli71 requested a review from normanrz January 30, 2026 11:05
@brokkoli71 brokkoli71 changed the title Further tests Further tests and delete chunk data after resize Jan 30, 2026
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.

[v2] Further Tests

3 participants