Fix SelectStreamFactory.

This commit is contained in:
Nikolai Kochetov 2020-02-14 20:03:23 +03:00
parent ce6bcb77a2
commit 97f0e1ffdc

View File

@ -93,7 +93,7 @@ Pipe createLocalStream(const ASTPtr & query_ast, const Block & header, const Con
*/
/// return std::make_shared<MaterializingBlockInputStream>(stream);
return interpreter.executeWithProcessors().getPipe();
return std::move(pipeline).getPipe();
}
static String formattedAST(const ASTPtr & ast)