v.21.3Improvement

Case-Insensitive Compression Methods for Table Functions

Case-insensitive compression methods for table functions. Also fixed LZMA compression method which was checked in upper case. #21416 (Vladimir Chebotarev).
Case-insensitive compression methods support for table functions, including a fix for the LZMA compression method to correctly handle case variations.

Why it matters

This feature improves usability and robustness by allowing users to specify compression methods in any letter case (e.g., lzma, LZMA, LzMa) when using table functions. It resolves issues caused by case sensitivity, such as incorrect recognition of the LZMA method, making compression method usage more flexible and less error-prone.

How to use it

Simply specify the compression method name in a case-insensitive manner when using ClickHouse table functions. For example, instead of requiring exact uppercase spelling, users can write compression methods like lzma, LZMA, or LzMa interchangeably in the function parameters.