HappenLee commented on code in PR #29534:
URL: https://github.com/apache/doris/pull/29534#discussion_r1441590944


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java:
##########
@@ -1895,8 +1895,9 @@ && collectChildReturnTypes()[0].isDecimalV3()) {
                 // array_zip varargs special case array_zip(array1, array2, 
...)
                 // we only specialize array_zip with first array type, next 
type we same with custom type
                 if (i >= args.length && 
(fnName.getFunction().equalsIgnoreCase("array_zip"))) {
-                    if (argTypes[i].isNull()) {
-                        uncheckedCastChild(args[i - 1], i);
+                    if (argTypes[i].isNull()) { //select array_zip(['a', 'b', 
'c'], NULL, [11, 22, 33]);

Review Comment:
   Do not use the way to solve problem



-- 
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

Reply via email to