v.21.1New Features

Add Zstandard Compression Support for Data Import and Export

Add .zst compression/decompression support for data import and export. It enables using .zst in file() function and Content-encoding: zstd in HTTP client. This closes #16791 . #17144 (Abi Palagashvili).
Added support for *.zst compression and decompression in ClickHouse for data import and export operations.

Why it matters

This feature allows users to work with *.zst compressed files seamlessly, enabling efficient storage and transfer by leveraging Zstandard compression. It solves the problem of lack of native support for .zst files in import/export workflows, improving both performance and compatibility.

How to use it

Users can now specify *.zst files in the file() function for data input/output. Additionally, HTTP client requests can use the Content-Encoding: zstd header to automatically handle zstd compressed data during transfer.