Skip to content

Support compressed virtual chunk locations (needs fzstd dictionary support) #3

Closed

Description

@Shane98c

icechunk (earth-mover/icechunk#1776) introduced dictionary-compressed virtual chunk locations. The manifest FlatBuffer schema has location_dictionary, compression_algorithm, and compressed_location fields that we don't read yet.

Current state

What's needed

  • Wait for fzstd#18 to land and release
  • Update manifest-parser.ts to read compressedLocation from ChunkRef
  • Update manifest-parser.ts to read locationDictionary/compressionAlgorithm from Manifest
  • Decompress locations at parse time (matching Rust impl), priority: compressed_location → location → chunk_id → inline
  • Add tests (will need synthetic fixtures or wait for upstream data)

References

  • Upstream schema: manifest.fbs — ChunkRef.compressed_location, Manifest.location_dictionary, Manifest.compression_algorithm

Activity

  1. tylere commented on Jun 17, 2026

    @tylere

    Given that https://github.com/101arrowz/fzstd hasn't been updated in 2 years, maybe its time to use the PR/fork that solves this (https://github.com/handlerug/fzstd/tree/push-qxkytkvukoqs)? If the PR gets reviewed/approved soon, you could switch back.

  2. Shane98c commented on Jun 17, 2026

    @Shane98c
    CollaboratorAuthor

    good call @tylere, seems like lots of folks are hitting this lately. I'll get a PR up and tested asap!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions