v.23.3Improvement

Add Optional Arguments to Codecs in ClickHouse Compressor and Fix Errors

Add optional arguments to codecs DoubleDelta(bytes_size), Gorilla(bytes_size), FPC(level, float_size), this allows using these codecs without column type in clickhouse-compressor. Fix possible aborts and arithmetic errors in clickhouse-compressor with these codecs. Fixes: https://github.com/ClickHouse/ClickHouse/discussions/47262. #47271 (Kruglov Pavel).
Added optional arguments to the DoubleDelta(bytes_size), Gorilla(bytes_size), and FPC(level, float_size) codecs, enabling their use without a column type in clickhouse-compressor. Fixed potential aborts and arithmetic errors when using these codecs with clickhouse-compressor.

Why it matters

This feature solves the issue of requiring a column type to use the DoubleDelta, Gorilla, and FPC codecs in the clickhouse-compressor tool. By adding optional arguments, it improves flexibility and stability, preventing crashes and arithmetic errors during compression operations with these codecs.

How to use it

When using clickhouse-compressor, specify the codecs with optional parameters like DoubleDelta(bytes_size), Gorilla(bytes_size), or FPC(level, float_size) to apply them without needing to specify the column type explicitly. This enhances compatibility and robustness in compression commands.