Merge pull request #61555 from ClickHouse/fix_read_rows_count

Fix read_rows count with external group by
This commit is contained in:
Alexander Tokmakov 2024-03-21 15:33:01 +01:00 committed by GitHub
commit 0e4d5faa88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public:
void setStorageLimits(const std::shared_ptr<const StorageLimitsList> & storage_limits_) override; void setStorageLimits(const std::shared_ptr<const StorageLimitsList> & storage_limits_) override;
/// Default implementation for all the sources. /// Default implementation for all the sources.
std::optional<ReadProgress> getReadProgress() final; std::optional<ReadProgress> getReadProgress() override;
void addTotalRowsApprox(size_t value); void addTotalRowsApprox(size_t value);
void addTotalBytes(size_t value); void addTotalBytes(size_t value);

View File

@ -80,6 +80,8 @@ namespace
return convertToChunk(block); return convertToChunk(block);
} }
std::optional<ReadProgress> getReadProgress() override { return std::nullopt; }
private: private:
TemporaryFileStream * tmp_stream; TemporaryFileStream * tmp_stream;
}; };