rok commented on code in PR #41546:
URL: https://github.com/apache/arrow/pull/41546#discussion_r1590752598
##########
cpp/src/parquet/encoding.cc:
##########
@@ -2768,6 +2767,10 @@ class DeltaLengthByteArrayEncoder : public EncoderImpl,
return Status::Invalid(
"Parquet cannot store strings with size 2GB or more, got: ",
view.size());
}
+ if (ARROW_PREDICT_FALSE(view.size() + sink_.length() >
+ std::numeric_limits<int32_t>::max())) {
Review Comment:
CI is throwing:
```bash
comparison of integer expressions of different signedness: 'long unsigned
int' and 'int'
```
--
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]