From 66638c415820a016af9d30dcf9817a99b5ab32dc Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Wed, 5 Jul 2017 19:36:45 +0300 Subject: [PATCH] Fixed error in StorageDictionary [#CLICKHOUSE-2]. --- dbms/src/Storages/StorageDictionary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Storages/StorageDictionary.cpp b/dbms/src/Storages/StorageDictionary.cpp index 24dfd75a097..3dc0e45698f 100644 --- a/dbms/src/Storages/StorageDictionary.cpp +++ b/dbms/src/Storages/StorageDictionary.cpp @@ -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)}; }