26
26
#include " arrow/scalar.h"
27
27
#include " arrow/util/checked_cast.h"
28
28
#include " arrow/util/int_util_overflow.h"
29
- #include " arrow/util/logging_internal .h"
29
+ #include " arrow/util/logging .h"
30
30
#include " arrow/util/ree_util.h"
31
31
32
32
namespace arrow {
@@ -58,7 +58,7 @@ Status RunCompressorBuilder::AppendNulls(int64_t length) {
58
58
}
59
59
if (ARROW_PREDICT_FALSE (current_run_length_ == 0 )) {
60
60
// Open a new NULL run
61
- DCHECK_EQ (current_value_, NULLPTR);
61
+ ARROW_DCHECK_EQ (current_value_, NULLPTR);
62
62
current_run_length_ = length;
63
63
} else if (current_value_ == NULLPTR) {
64
64
// Extend the currently open NULL run
@@ -129,7 +129,7 @@ Status RunCompressorBuilder::AppendScalars(const ScalarVector& scalars) {
129
129
130
130
Status RunCompressorBuilder::AppendRunCompressedArraySlice (
131
131
const ArraySpan& run_compressed_array, int64_t offset, int64_t length) {
132
- DCHECK (!has_open_run ());
132
+ ARROW_DCHECK (!has_open_run ());
133
133
RETURN_NOT_OK (inner_builder_->AppendArraySlice (run_compressed_array, offset, length));
134
134
UpdateDimensions ();
135
135
return Status::OK ();
@@ -197,7 +197,7 @@ Status RunEndEncodedBuilder::AppendNulls(int64_t length) {
197
197
198
198
Status RunEndEncodedBuilder::AppendEmptyValues (int64_t length) {
199
199
RETURN_NOT_OK (value_run_builder_->AppendEmptyValues (length));
200
- DCHECK_EQ (value_run_builder_->open_run_length (), 0 );
200
+ ARROW_DCHECK_EQ (value_run_builder_->open_run_length (), 0 );
201
201
UpdateDimensions (committed_logical_length_, 0 );
202
202
return Status::OK ();
203
203
}
@@ -222,8 +222,8 @@ template <typename RunEndCType>
222
222
Status RunEndEncodedBuilder::DoAppendArraySlice (const ArraySpan& array, int64_t offset,
223
223
int64_t length) {
224
224
ARROW_DCHECK (offset + length <= array.length );
225
- DCHECK_GT (length, 0 );
226
- DCHECK (!value_run_builder_->has_open_run ());
225
+ ARROW_DCHECK_GT (length, 0 );
226
+ ARROW_DCHECK (!value_run_builder_->has_open_run ());
227
227
228
228
ree_util::RunEndEncodedArraySpan<RunEndCType> ree_span (array, array.offset + offset,
229
229
length);
0 commit comments