未验证 提交 b658f348 编写于 作者: A alexey-milovidov 提交者: GitHub

Update MergeTreeDataPartWriterWide.cpp

上级 96c41997
......@@ -46,10 +46,10 @@ void MergeTreeDataPartWriterWide::addStreams(
return;
CompressionCodecPtr compression_codec;
/// If we can use special codec than just get it
/// If we can use special codec then just get it
if (IDataType::isSpecialCompressionAllowed(substream_path))
compression_codec = CompressionCodecFactory::instance().get(effective_codec_desc, &substream_type, default_codec);
else /// otherwise return only generic codecs and don't use info about data_type
else /// otherwise return only generic codecs and don't use info about the data_type
compression_codec = CompressionCodecFactory::instance().get(effective_codec_desc, nullptr, default_codec, true);
column_streams[stream_name] = std::make_unique<Stream>(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册