fatemehp commented on code in PR #14142: URL: https://github.com/apache/arrow/pull/14142#discussion_r975753492
########## cpp/src/parquet/column_reader.cc: ########## @@ -1530,7 +1680,7 @@ class TypedRecordReader : public ColumnReaderImplBase<DType>, int64_t ReadRecordData(int64_t num_records) { // Conservative upper bound const int64_t possible_num_values = - std::max(num_records, levels_written_ - levels_position_); + std::max<int>(num_records, levels_written_ - levels_position_); Review Comment: Done. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org