Skip to content

Commit 6763705

Browse files
committed
[fix][expr] Add concat function type
1 parent d14f632 commit 6763705

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

runtime/src/main/java/io/dingodb/expr/runtime/op/string/ConcatFun.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
package io.dingodb.expr.runtime.op.string;
1818

19+
import io.dingodb.expr.common.type.Type;
20+
import io.dingodb.expr.common.type.Types;
1921
import io.dingodb.expr.runtime.ExprConfig;
2022
import io.dingodb.expr.runtime.op.BinaryOp;
2123
import org.checkerframework.checker.nullness.qual.NonNull;
@@ -38,4 +40,10 @@ public Object evalValue(Object value0, Object value1, ExprConfig config) {
3840
public @NonNull String getName() {
3941
return NAME;
4042
}
43+
44+
@Override
45+
public Type getType() {
46+
return Types.STRING;
47+
}
48+
4149
}

0 commit comments

Comments
 (0)