[Vectorized](function) support topn_array function (#13869)
This commit is contained in:
@ -2466,6 +2466,13 @@ public class FunctionSet<T> {
|
||||
"", "", "", "", "", true, false, true, true));
|
||||
addBuiltin(AggregateFunction.createBuiltin(COLLECT_SET, Lists.newArrayList(t), new ArrayType(t), t,
|
||||
"", "", "", "", "", true, false, true, true));
|
||||
addBuiltin(
|
||||
AggregateFunction.createBuiltin("topn_array", Lists.newArrayList(t, Type.INT), new ArrayType(t), t,
|
||||
"", "", "", "", "", true, false, true, true));
|
||||
addBuiltin(
|
||||
AggregateFunction
|
||||
.createBuiltin("topn_array", Lists.newArrayList(t, Type.INT, Type.INT), new ArrayType(t), t,
|
||||
"", "", "", "", "", true, false, true, true));
|
||||
}
|
||||
|
||||
// Avg
|
||||
|
||||
@ -158,6 +158,8 @@ public abstract class Type {
|
||||
arraySubTypes.add(DECIMALV2);
|
||||
arraySubTypes.add(DATE);
|
||||
arraySubTypes.add(DATETIME);
|
||||
arraySubTypes.add(DATEV2);
|
||||
arraySubTypes.add(DATETIMEV2);
|
||||
arraySubTypes.add(CHAR);
|
||||
arraySubTypes.add(VARCHAR);
|
||||
arraySubTypes.add(STRING);
|
||||
|
||||
Reference in New Issue
Block a user