mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Update DistributedBlockOutputStream.cpp
This commit is contained in:
parent
9829c09720
commit
a5a19de878
@ -352,6 +352,7 @@ DistributedBlockOutputStream::runWritingJob(DistributedBlockOutputStream::JobRep
|
||||
/// Forward user settings
|
||||
job.local_context = std::make_unique<Context>(context);
|
||||
|
||||
/// InterpreterInsertQuery is modifying the AST, but the same AST is also used to insert to remote shards.
|
||||
auto copy_query_ast = query_ast->clone();
|
||||
|
||||
InterpreterInsertQuery interp(copy_query_ast, *job.local_context);
|
||||
|
Loading…
Reference in New Issue
Block a user