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.
{
    UInt8 method_code = static_cast<UInt8>(CompressionMethodByte::Gorilla);
    factory.registerCompressionCodecWithType("Gorilla", method_code,
        [&](const ASTPtr & arguments, const IDataType * column_type) -> CompressionCodecPtr
    {
        if (arguments)
            throw Exception("Codec Gorilla does not accept any arguments", ErrorCodes::BAD_ARGUMENTS);
        UInt8 data_bytes_size = column_type ? getDataBytesSize(column_type) : 0;
        return std::make_shared<CompressionCodecGorilla>(data_bytes_size);
    });
}
}