You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/07/29 16:39:37 UTC

[GitHub] [doris] xy720 commented on a diff in pull request #11335: [FIX](array)DCHECK error of array functions

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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org