mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
parallel reading files for FileLog Engine
This commit is contained in:
parent
97523a3329
commit
a2ce366c34
@ -723,6 +723,7 @@ bool StorageFileLog::streamToViews()
|
||||
size_t rows = 0;
|
||||
{
|
||||
block_io.pipeline.complete(std::move(input));
|
||||
block_io.pipeline.setNumThreads(max_streams_number);
|
||||
block_io.pipeline.setProgressCallback([&](const Progress & progress) { rows += progress.read_rows.load(); });
|
||||
CompletedPipelineExecutor executor(block_io.pipeline);
|
||||
executor.execute();
|
||||
|
Loading…
Reference in New Issue
Block a user