emkornfield commented on code in PR #14142:
URL: https://github.com/apache/arrow/pull/14142#discussion_r974502100
##########
cpp/src/parquet/column_reader.cc:
##########
@@ -1268,7 +1269,7 @@ class TypedRecordReader : public
ColumnReaderImplBase<DType>,
records_read += ReadRecordData(num_records);
}
- int64_t level_batch_size = std::max(kMinLevelBatchSize, num_records);
+ int64_t level_batch_size = std::max<int>(kMinLevelBatchSize, num_records);
Review Comment:
same comment on type-template param for max
--
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]