csun5285 commented on code in PR #68576:
URL: https://github.com/apache/doris/pull/68576#discussion_r4129103182
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/scalar/ArrayContains.java:
##########
@@ -62,6 +64,10 @@ private ArrayContains(ScalarFunctionParams functionParams) {
@Override
public void checkLegalityBeforeTypeCoercion() {
ArrayFunctionUtils.checkNoVarBinaryArguments(this);
+ DataType argType = getArgument(0).getDataType();
+ if (argType.isArrayType() && ((ArrayType)
argType).getItemType().isComplexType()) {
Review Comment:
已解决
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]