xitongsys / parquet-go

pure golang library for reading/writing parquet file
Apache License 2.0
1.25k stars 294 forks source link

Is it guaranteed that I finished reading the parquet file when the interface returns a slice whose length is less than the given one? #490

Closed Ye-Tian-Zero closed 2 years ago

Ye-Tian-Zero commented 2 years ago

When iterating over a parquet file, can I assume that I have reached the end of the parquet file when I got a returned slice whose length is less than the one I passed into Read() function?

xitongsys commented 2 years ago

yes, it is.