xy720 commented on code in PR #11335: URL: https://github.com/apache/doris/pull/11335#discussion_r933445343
########## be/src/vec/functions/array/function_array_binary.h: ########## @@ -39,7 +39,11 @@ class FunctionArrayBinary : public IFunction { DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { DCHECK(is_array(arguments[0])) << arguments[0]->get_name(); DCHECK(is_array(arguments[1])) << arguments[1]->get_name(); - DCHECK(arguments[0]->equals(*arguments[1])) + auto left_nested_type = remove_nullable( Review Comment: No need to remove_nullable if use_default_implementation_for_nulls() return true. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org