Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion be/src/vec/functions/array/function_array_binary.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class FunctionArrayBinary : public IFunction {
assert_cast<const DataTypeArray&>(*(arguments[0])).get_nested_type());
auto right_nested_type = remove_nullable(
assert_cast<const DataTypeArray&>(*(arguments[1])).get_nested_type());
DCHECK(left_nested_type->equals(*right_nested_type))
DCHECK(left_nested_type->equals_ignore_precision(*right_nested_type))
<< "data type " << arguments[0]->get_name() << " not equal with "
<< arguments[1]->get_name();
return Impl::get_return_type(arguments);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class FunctionArrayContainsAll : public IFunction {
assert_cast<const DataTypeArray&>(*left_data_type).get_nested_type());
auto right_nested_type = remove_nullable(
assert_cast<const DataTypeArray&>(*right_data_type).get_nested_type());
DCHECK(left_nested_type->equals(*right_nested_type))
DCHECK(left_nested_type->equals_ignore_precision(*right_nested_type))
<< "data type " << arguments[0]->get_name() << " not equal with "
<< arguments[1]->get_name();
return std::make_shared<DataTypeUInt8>();
Expand Down
2 changes: 1 addition & 1 deletion be/src/vec/functions/array/function_arrays_overlap.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class FunctionArraysOverlap : public IFunction {
assert_cast<const DataTypeArray&>(*left_data_type).get_nested_type());
auto right_nested_type = remove_nullable(
assert_cast<const DataTypeArray&>(*right_data_type).get_nested_type());
DCHECK(left_nested_type->equals(*right_nested_type))
DCHECK(left_nested_type->equals_ignore_precision(*right_nested_type))
<< "data type " << arguments[0]->get_name() << " not equal with "
<< arguments[1]->get_name();
return make_nullable(std::make_shared<DataTypeUInt8>());
Expand Down
Loading