mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
dbms: development [#CONV-2944].
This commit is contained in:
parent
d6f20786b6
commit
c0a2326bf2
@ -145,9 +145,9 @@ BlockInputStreamPtr InterpreterSelectQuery::execute()
|
||||
|
||||
/// Инициализируем изначальный поток данных, на который накладываются преобразования запроса. Таблица или подзапрос?
|
||||
if (!query.table || !dynamic_cast<ASTSelectQuery *>(&*query.table))
|
||||
stream = table->read(required_columns, query_ptr, block_size);
|
||||
stream = new AsynchronousBlockInputStream(table->read(required_columns, query_ptr, block_size));
|
||||
else
|
||||
stream = interpreter_subquery->execute();
|
||||
stream = new AsynchronousBlockInputStream(interpreter_subquery->execute());
|
||||
|
||||
bool is_first_expression = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user