Skip to content

Commit 308a567

Browse files
[BugFix] change CHECK to DCHECK in nullablecolumn to prevent the crash (backport #63553) (backport #63565) (#63606)
Signed-off-by: Murphy <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Murphy <[email protected]> Co-authored-by: Murphy <[email protected]>
1 parent a17c83e commit 308a567

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

be/src/column/nullable_column.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,10 +523,10 @@ void NullableColumn::put_mysql_row_buffer(MysqlRowBuffer* buf, size_t idx, bool
523523
}
524524

525525
void NullableColumn::check_or_die() const {
526-
CHECK_EQ(_null_column->size(), _data_column->size());
526+
DCHECK_EQ(_null_column->size(), _data_column->size());
527527
// when _has_null=true, the column may have no null value, so don't check.
528528
if (!_has_null) {
529-
CHECK(!SIMD::contain_nonzero(_null_column->get_data(), 0));
529+
DCHECK(!SIMD::contain_nonzero(_null_column->get_data(), 0));
530530
}
531531
_data_column->check_or_die();
532532
_null_column->check_or_die();

0 commit comments

Comments
 (0)