Remove redundant narrowPipe()

This commit is contained in:
Igor Nikonov 2023-04-18 22:41:28 +00:00
parent 2455334009
commit d5eb65b5ea

View File

@ -44,7 +44,6 @@
#include <Processors/Transforms/AddingDefaultsTransform.h>
#include <Processors/Formats/IOutputFormat.h>
#include <Processors/Formats/IInputFormat.h>
#include <QueryPipeline/narrowPipe.h>
#include <QueryPipeline/QueryPipelineBuilder.h>
@ -1076,10 +1075,7 @@ Pipe StorageS3::read(
max_download_threads));
}
auto pipe = Pipe::unitePipes(std::move(pipes));
narrowPipe(pipe, num_streams);
return pipe;
return Pipe::unitePipes(std::move(pipes));
}
SinkToStoragePtr StorageS3::write(const ASTPtr & query, const StorageMetadataPtr & metadata_snapshot, ContextPtr local_context)