zzzxl1993 commented on code in PR #39193: URL: https://github.com/apache/doris/pull/39193#discussion_r1714585700
########## fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/scalar/MultiMatch.java: ########## @@ -24,41 +24,46 @@ import org.apache.doris.nereids.trees.expressions.shape.BinaryExpression; import org.apache.doris.nereids.trees.expressions.visitor.ExpressionVisitor; import org.apache.doris.nereids.types.BooleanType; -import org.apache.doris.nereids.types.StringType; +import org.apache.doris.nereids.types.coercion.AnyDataType; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; import java.util.List; /** - * ScalarFunction 'multi_match'. This class is generated by GenerateFunction. + * ScalarFunction 'multi_match'. */ public class MultiMatch extends ScalarFunction implements BinaryExpression, ExplicitlyCastableSignature, AlwaysNotNullable { public static final List<FunctionSignature> SIGNATURES = ImmutableList.of( FunctionSignature.ret(BooleanType.INSTANCE) - .args(StringType.INSTANCE, - StringType.INSTANCE, - StringType.INSTANCE, - StringType.INSTANCE) + .varArgs(AnyDataType.INSTANCE_WITHOUT_INDEX) Review Comment: changed to varArgs(StringType.INSTANCE) -- 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