diff --git a/be/src/storage/rowset/binary_dict_page.cpp b/be/src/storage/rowset/binary_dict_page.cpp index b7ea8cf10b2fb..d54d8c959903f 100644 --- a/be/src/storage/rowset/binary_dict_page.cpp +++ b/be/src/storage/rowset/binary_dict_page.cpp @@ -261,7 +261,9 @@ Status BinaryDictPageDecoder::next_batch(const SparseRange<>& range, Colum } } - CHECK(dst->append_strings_overflow(slices, _max_value_legth)); + bool ok = dst->append_strings_overflow(slices, _max_value_legth); + DCHECK(ok) << "append_strings_overflow failed"; + RETURN_IF(!ok, Status::InternalError("BinaryDictPageDecoder::next_batch failed")); return Status::OK(); }