Skip to content

feat(table): support zstd metadata compression codec#1020

Open
tanmayrauth wants to merge 2 commits intoapache:mainfrom
tanmayrauth:feat/1005-zstd-metadata-compression
Open

feat(table): support zstd metadata compression codec#1020
tanmayrauth wants to merge 2 commits intoapache:mainfrom
tanmayrauth:feat/1005-zstd-metadata-compression

Conversation

@tanmayrauth
Copy link
Copy Markdown
Contributor

Adds MetadataCompressionCodecZstd alongside gzip/none and wires it through both read (decompress .metadata.json.zstd) and write (write.metadata.compression-codec=zstd) paths. Uses klauspost/compress/zstd already present as a transitive dependency.

Closes #1005

Add zstd as a supported metadata compression codec for both read and
write paths. The klauspost/compress/zstd library is already a transitive
dependency via parquet so no new go.mod entry is needed.
…ath zstd tests

klauspost/compress is now directly imported (not just transitive via
parquet), so mark it as a direct dependency. Add Open()-path unit tests
for zstd metadata decompression covering both suffix conventions.
@tanmayrauth tanmayrauth requested a review from zeroshade as a code owner May 5, 2026 22:16
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.

feat(table): support zstd metadata compression codec

1 participant