Skip to content

Commit 06bb693

Browse files
committed
skip check for ColumnVariant
1 parent 49b8c4a commit 06bb693

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

be/src/vec/columns/column.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include "vec/columns/column_map.h"
2727
#include "vec/columns/column_nullable.h"
2828
#include "vec/columns/column_struct.h"
29+
#include "vec/columns/column_variant.h"
2930
#include "vec/core/sort_block.h"
3031
#include "vec/data_types/data_type.h"
3132

@@ -93,6 +94,11 @@ bool IColumn::null_map_check() const {
9394
}
9495

9596
bool IColumn::complex_type_data_nullable_check() const {
97+
if (check_and_get_column<ColumnVariant>(*this)) {
98+
// skip check for ColumnVariant
99+
return true;
100+
}
101+
96102
auto check_complex_data_is_nullable = [&](const IColumn& subcolumn) {
97103
if (const auto* col_arr = check_and_get_column<ColumnArray>(subcolumn)) {
98104
const auto& data_col = col_arr->get_data();

0 commit comments

Comments
 (0)