I've ClickHouse 22.1.3.7 in docker and tried to create table with this script.

```sql
CREATE TABLE default.test
(
    `time_date` Date CODEC(Delta(2), LZ4),
    `ipv6` IPv6 CODEC(Gorilla, LZ4)
)
ENGINE = MergeTree
PARTITION BY toYYYYMMDD(time_date)
ORDER BY (time_date)
SETTINGS index_granularity = 8192;
```

Expected behavior: table is created.

Actual behavior: An error with follow text
`Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type IPv6. (BAD_ARGUMENTS)`

It tries to create ipv6 column with Delta codec but I specified Gorilla.
{
    const UInt32 items_count = uncompressed_size / data_bytes_size;
    static const auto DATA_BIT_LENGTH = getBitLengthOfLength(data_bytes_size);
    
    static const auto LEADING_ZEROES_BIT_LENGTH = DATA_BIT_LENGTH - 1;
    
    
    const UInt32 max_item_size_bits = 2 + LEADING_ZEROES_BIT_LENGTH + DATA_BIT_LENGTH + data_bytes_size * 8;
    
    return (items_count * max_item_size_bits + 8) / 8;
}
struct BinaryValueInfo
{
    UInt8 leading_zero_bits;
    UInt8 data_bits;
    UInt8 trailing_zero_bits;
};
template <typename T>
BinaryValueInfo getLeadingAndTrailingBits(const T & value)
{
    constexpr UInt8 bit_size = sizeof(T) * 8;
    const UInt8 lz = getLeadingZeroBits(value);
    const UInt8 tz = getTrailingZeroBits(value);
    const UInt8 data_size = value == 0 ? 0 : static_cast<UInt8>(bit_size - lz - tz);
    return BinaryValueInfo{lz, data_size, tz};
}
template <typename T>
UInt32 compressDataForType(const char * source, UInt32 source_size, char * dest, UInt32 dest_size)