fatemehp commented on code in PR #14142: URL: https://github.com/apache/arrow/pull/14142#discussion_r975753993
########## cpp/src/parquet/column_reader.cc: ########## @@ -1542,7 +1692,7 @@ class TypedRecordReader : public ColumnReaderImplBase<DType>, } else if (this->max_def_level_ > 0) { // No repetition levels, skip delimiting logic. Each level represents a // null or not null entry - records_read = std::min(levels_written_ - levels_position_, num_records); + records_read = std::min<int>(levels_written_ - levels_position_, num_records); 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