Skip to content

Commit

Permalink
fix signature
Browse files Browse the repository at this point in the history
  • Loading branch information
amorynan committed Sep 10, 2024
1 parent f3f350f commit eb746b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import org.apache.doris.nereids.trees.expressions.visitor.ExpressionVisitor;
import org.apache.doris.nereids.types.ArrayType;
import org.apache.doris.nereids.types.BooleanType;
import org.apache.doris.nereids.types.coercion.AnyDataType;

import com.google.common.collect.ImmutableList;

Expand All @@ -37,8 +36,7 @@ public class ArrayMatchAll extends ScalarFunction
implements HighOrderFunction, PropagateNullable {

public static final List<FunctionSignature> SIGNATURES = ImmutableList.of(
FunctionSignature.ret(BooleanType.INSTANCE).args(ArrayType.of(AnyDataType.INSTANCE_WITHOUT_INDEX),
ArrayType.of(BooleanType.INSTANCE))
FunctionSignature.ret(BooleanType.INSTANCE).args(ArrayType.of(BooleanType.INSTANCE))
);

private ArrayMatchAll(List<Expression> expressions) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import org.apache.doris.nereids.trees.expressions.visitor.ExpressionVisitor;
import org.apache.doris.nereids.types.ArrayType;
import org.apache.doris.nereids.types.BooleanType;
import org.apache.doris.nereids.types.coercion.AnyDataType;

import com.google.common.collect.ImmutableList;

Expand All @@ -37,8 +36,7 @@ public class ArrayMatchAny extends ScalarFunction
implements HighOrderFunction, PropagateNullable {

public static final List<FunctionSignature> SIGNATURES = ImmutableList.of(
FunctionSignature.ret(BooleanType.INSTANCE).args(ArrayType.of(AnyDataType.INSTANCE_WITHOUT_INDEX),
ArrayType.of(BooleanType.INSTANCE))
FunctionSignature.ret(BooleanType.INSTANCE).args(ArrayType.of(BooleanType.INSTANCE))
);

private ArrayMatchAny(List<Expression> expressions) {
Expand Down

0 comments on commit eb746b9

Please sign in to comment.