v.20.12New Feature

Add support for *.xz compression in file() function

add .xz compression/decompression support.It enables using .xz in file() function. This closes #8828. #16578 (Abi Palagashvili).
Added support for .xz file compression and decompression in ClickHouse, enabling the use of .xz compressed files with the file() function.

Why it matters

This feature allows users to read from and write to *.xz compressed files directly within ClickHouse queries, expanding the range of supported file formats and improving integration with compressed data workflows.

How to use it

Use the file() table function with paths to *.xz compressed files as input. ClickHouse will handle compression and decompression automatically when reading or writing these files.