Fix tests and builds

This commit is contained in:
avogar 2023-06-20 13:01:47 +00:00
parent d492acbcd2
commit 1d80072c21
2 changed files with 2 additions and 2 deletions

View File

@ -465,6 +465,7 @@ Chunk HDFSSource::generate()
reader.reset(); reader.reset();
pipeline.reset(); pipeline.reset();
input_format.reset();
read_buf.reset(); read_buf.reset();
if (!initialize()) if (!initialize())

View File

@ -5,12 +5,11 @@ namespace DB
{ {
class ISource; class ISource;
class Chunk;
void updateRowsProgressApprox( void updateRowsProgressApprox(
ISource & source, ISource & source,
size_t num_rows, size_t num_rows,
size_t chunk_bytes_size, UInt64 chunk_bytes_size,
UInt64 total_result_size, UInt64 total_result_size,
UInt64 & total_rows_approx_accumulated, UInt64 & total_rows_approx_accumulated,
size_t & total_rows_count_times, size_t & total_rows_count_times,