mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Add method byte
This commit is contained in:
parent
0f51e32bb5
commit
8a9d4cbf8a
@ -50,7 +50,8 @@ UInt32 CompressionCodecZSTDQAT::doCompressData(const char * source, UInt32 sourc
|
||||
|
||||
void registerCodecZSTDQAT(CompressionCodecFactory & factory)
|
||||
{
|
||||
factory.registerCompressionCodec("ZSTD_QAT", {}, [&](const ASTPtr & arguments) -> CompressionCodecPtr
|
||||
UInt8 method_code = static_cast<UInt8>(CompressionMethodByte::ZSTD_QPL);
|
||||
factory.registerCompressionCodec("ZSTD_QAT", method_code, [&](const ASTPtr & arguments) -> CompressionCodecPtr
|
||||
{
|
||||
int level = CompressionCodecZSTD::ZSTD_DEFAULT_LEVEL;
|
||||
if (arguments && !arguments->children.empty())
|
||||
|
@ -48,6 +48,7 @@ enum class CompressionMethodByte : uint8_t
|
||||
FPC = 0x98,
|
||||
DeflateQpl = 0x99,
|
||||
GCD = 0x9a,
|
||||
ZSTD_QPL = 0x9b,
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user