Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonLiTree committed Dec 5, 2023
1 parent 2ca88df commit efaac75
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
public class IntersectCount extends AggregateFunction
implements ExplicitlyCastableSignature, AlwaysNotNullable, BitmapIntersectFunction {

List<DataType> SUPPORTED_TYPES = ImmutableList.of(
public static final List<DataType> SUPPORTED_TYPES = ImmutableList.of(
SmallIntType.INSTANCE, TinyIntType.INSTANCE, IntegerType.INSTANCE, BigIntType.INSTANCE,
FloatType.INSTANCE, DoubleType.INSTANCE, StringType.INSTANCE, CharType.SYSTEM_DEFAULT
);

List<FunctionSignature> SIGNATURES = SUPPORTED_TYPES.stream()
public static final List<FunctionSignature> SIGNATURES = SUPPORTED_TYPES.stream()
.map(type -> FunctionSignature.ret(BigIntType.INSTANCE).varArgs(BitmapType.INSTANCE, type, type))
.collect(ImmutableList.toImmutableList());

Expand Down

0 comments on commit efaac75

Please sign in to comment.