File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
be/src/vec/functions/array Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class FunctionArrayBinary : public IFunction {
4343 assert_cast<const DataTypeArray&>(*(arguments[0 ])).get_nested_type ());
4444 auto right_nested_type = remove_nullable (
4545 assert_cast<const DataTypeArray&>(*(arguments[1 ])).get_nested_type ());
46- DCHECK (left_nested_type->equals (*right_nested_type))
46+ DCHECK (left_nested_type->equals_ignore_precision (*right_nested_type))
4747 << " data type " << arguments[0 ]->get_name () << " not equal with "
4848 << arguments[1 ]->get_name ();
4949 return Impl::get_return_type (arguments);
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class FunctionArrayContainsAll : public IFunction {
5353 assert_cast<const DataTypeArray&>(*left_data_type).get_nested_type ());
5454 auto right_nested_type = remove_nullable (
5555 assert_cast<const DataTypeArray&>(*right_data_type).get_nested_type ());
56- DCHECK (left_nested_type->equals (*right_nested_type))
56+ DCHECK (left_nested_type->equals_ignore_precision (*right_nested_type))
5757 << " data type " << arguments[0 ]->get_name () << " not equal with "
5858 << arguments[1 ]->get_name ();
5959 return std::make_shared<DataTypeUInt8>();
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ class FunctionArraysOverlap : public IFunction {
151151 assert_cast<const DataTypeArray&>(*left_data_type).get_nested_type ());
152152 auto right_nested_type = remove_nullable (
153153 assert_cast<const DataTypeArray&>(*right_data_type).get_nested_type ());
154- DCHECK (left_nested_type->equals (*right_nested_type))
154+ DCHECK (left_nested_type->equals_ignore_precision (*right_nested_type))
155155 << " data type " << arguments[0 ]->get_name () << " not equal with "
156156 << arguments[1 ]->get_name ();
157157 return make_nullable (std::make_shared<DataTypeUInt8>());
You can’t perform that action at this time.
0 commit comments