pitrou commented on code in PR #45498: URL: https://github.com/apache/arrow/pull/45498#discussion_r1952175340
########## cpp/src/arrow/csv/parser.cc: ########## @@ -158,7 +173,7 @@ class ResizableValueDescWriter : public ValueDescWriter<ResizableValueDescWriter void PushValue(ParsedValueDesc v) { if (ARROW_PREDICT_FALSE(values_size_ == values_capacity_)) { values_capacity_ = values_capacity_ * 2; - ARROW_CHECK_OK(values_buffer_->Resize(values_capacity_ * sizeof(*values_))); + status_ &= values_buffer_->Resize(values_capacity_ * sizeof(*values_)); values_ = reinterpret_cast<ParsedValueDesc*>(values_buffer_->mutable_data()); } values_[values_size_++] = v; Review Comment: Hmm, that's a good point. We might adopt the same kind of approach as in the presized writer 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org