pitrou commented on code in PR #39844:
URL: https://github.com/apache/arrow/pull/39844#discussion_r1471525885
##########
cpp/src/parquet/encoding.cc:
##########
@@ -160,7 +160,8 @@ class PlainEncoder : public EncoderImpl, virtual public
TypedEncoder<DType> {
*array.data(),
[&](::std::string_view view) {
if (ARROW_PREDICT_FALSE(view.size() > kMaxByteArraySize)) {
- return Status::Invalid("Parquet cannot store strings with size 2GB
or more");
+ return Status::Invalid(
+ "Parquet cannot store strings with size 2GB or more, get: ",
view.size());
Review Comment:
```suggestion
"Parquet cannot store strings with size 2GB or more, got: ",
view.size());
```
##########
cpp/src/parquet/encoding.cc:
##########
@@ -160,7 +160,8 @@ class PlainEncoder : public EncoderImpl, virtual public
TypedEncoder<DType> {
*array.data(),
[&](::std::string_view view) {
if (ARROW_PREDICT_FALSE(view.size() > kMaxByteArraySize)) {
- return Status::Invalid("Parquet cannot store strings with size 2GB
or more");
+ return Status::Invalid(
+ "Parquet cannot store strings with size 2GB or more, get: ",
view.size());
Review Comment:
(same comment for other occurrences below)
--
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]