mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Increate total read length while reading
This commit is contained in:
parent
b4898bdd19
commit
6b2e97fd56
@ -27,6 +27,7 @@ ArrowBufferedInputStream::ArrowBufferedInputStream(ReadBuffer & istr_) : istr{is
|
||||
::arrow::Status ArrowBufferedInputStream::Read(int64_t nbytes, int64_t * bytes_read, void * out)
|
||||
{
|
||||
*bytes_read = istr.read(reinterpret_cast<char *>(out), nbytes);
|
||||
total_length += *bytes_read;
|
||||
return ::arrow::Status::OK();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user