Fixed error in StorageDictionary [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-07-05 19:36:45 +03:00
parent 25e9a1f7a6
commit 66638c4158

View File

@ -73,7 +73,7 @@ BlockInputStreams StorageDictionary::read(
const size_t max_block_size,
const unsigned threads)
{
processed_stage = QueryProcessingStage::Complete;
processed_stage = QueryProcessingStage::FetchColumns;
auto dictionary = context.getExternalDictionaries().getDictionary(dictionary_name);
return BlockInputStreams{dictionary->getBlockInputStream(column_names, max_block_size)};
}