Simple cleanup while fixing progress bar

This commit is contained in:
Igor Nikonov 2024-02-28 20:40:17 +00:00
parent a6c08a05e0
commit 627aa62d21
5 changed files with 7 additions and 14 deletions

View File

@ -34,7 +34,7 @@ class Context;
/**
* ORDER-PRESERVING parallel parsing of data formats.
* It splits original data into chunks. Then each chunk is parsed by different thread.
* The number of chunks equals to the number or parser threads.
* The number of chunks equals to the number of parser threads.
* The size of chunk is equal to min_chunk_bytes_for_parallel_parsing setting.
*
* Parsers
@ -119,25 +119,25 @@ public:
finishAndWait();
}
void resetParser() override final
void resetParser() final
{
throw Exception(ErrorCodes::LOGICAL_ERROR, "resetParser() is not allowed for {}", getName());
}
const BlockMissingValues & getMissingValues() const override final
const BlockMissingValues & getMissingValues() const final
{
return last_block_missing_values;
}
size_t getApproxBytesReadForChunk() const override { return last_approx_bytes_read_for_chunk; }
String getName() const override final { return "ParallelParsingBlockInputFormat"; }
String getName() const final { return "ParallelParsingBlockInputFormat"; }
private:
Chunk read() override final;
Chunk read() final;
void onCancel() override final
void onCancel() final
{
/*
* The format parsers themselves are not being cancelled here, so we'll

View File

@ -1,4 +1,3 @@
#include <variant>
#include <Processors/Sources/RemoteSource.h>
#include <QueryPipeline/RemoteQueryExecutor.h>
#include <QueryPipeline/RemoteQueryExecutorReadContext.h>

View File

@ -4,7 +4,6 @@
#include <Processors/RowsBeforeLimitCounter.h>
#include <QueryPipeline/Pipe.h>
#include <Core/UUID.h>
#include <atomic>
namespace DB
{

View File

@ -1,7 +1,5 @@
#include "Storages/StorageS3Cluster.h"
#include "config.h"
#if USE_AWS_S3
#include <DataTypes/DataTypeString.h>

View File

@ -4,10 +4,7 @@
#if USE_AWS_S3
#include <memory>
#include <optional>
#include "Client/Connection.h"
#include <Client/Connection.h>
#include <Interpreters/Cluster.h>
#include <IO/S3Common.h>
#include <Storages/IStorageCluster.h>