Merge pull request #54533 from ClickHouse/parallelize_insert_from_infile_by_file

parallelize infile
This commit is contained in:
alesapin 2023-09-15 14:30:49 +02:00 committed by GitHub
commit fd2ac0cb8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,6 +353,7 @@ QueryPipeline::QueryPipeline(Pipe pipe)
totals = pipe.getTotalsPort();
extremes = pipe.getExtremesPort();
partial_result = pipe.getPartialResultPort(0);
num_threads = pipe.max_parallel_streams;
processors = std::move(pipe.processors);
checkPulling(*processors, output, totals, extremes, partial_result);