mapleFU commented on code in PR #38466:
URL: https://github.com/apache/arrow/pull/38466#discussion_r1373553995
##########
cpp/src/parquet/arrow/reader.cc:
##########
@@ -1182,7 +1182,7 @@
FileReaderImpl::GetRecordBatchGenerator(std::shared_ptr<FileReader> reader,
int64_t rows_to_readahead) {
RETURN_NOT_OK(BoundsCheck(row_group_indices, column_indices));
if (rows_to_readahead < 0) {
- return Status::Invalid("rows_to_readahead must be > 0");
+ return Status::Invalid("rows_to_readahead must be >= 0");
Review Comment:
This can be 0 here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]