This commit is contained in:
Nikita Vasilev 2021-03-06 16:06:58 +03:00
parent 728c9ccb6d
commit 7478159d86

View File

@ -525,11 +525,11 @@ MergeTreeRangeReader::MergeTreeRangeReader(
, last_reader_in_chain(last_reader_in_chain_) , last_reader_in_chain(last_reader_in_chain_)
, is_initialized(true) , is_initialized(true)
{ {
if (prewhere_) if (prewhere_info_)
{ {
Poco::Logger::get("PREWHERE").information(prewhere_->prewhere_column_name); Poco::Logger::get("PREWHERE").information(prewhere_info_->prewhere_column_name);
Poco::Logger::get("PREWHERE").information(prewhere_->prewhere_actions->dumpActions()); Poco::Logger::get("PREWHERE").information(prewhere_info_->prewhere_actions->dumpActions());
Poco::Logger::get("PREWHERE rm?").information(std::to_string(prewhere_->remove_prewhere_column)); Poco::Logger::get("PREWHERE rm?").information(std::to_string(prewhere_info_->remove_prewhere_column));
} }
if (prev_reader) if (prev_reader)
sample_block = prev_reader->getSampleBlock(); sample_block = prev_reader->getSampleBlock();