Skip to content

Commit 18b403c

Browse files
committed
test
1 parent 64d5f03 commit 18b403c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/ComputeSignatureForSingleTimeArithmetic.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ default FunctionSignature computeSignature(FunctionSignature signature) {
4444
String s = ((StringLikeLiteral) child(0)).getStringValue().trim();
4545
if (isTimeFormat(s)) {
4646
new TimeV2Literal(s); // check legality
47-
TimeV2Type t1 = TimeV2Type.forTypeFromString(s);
48-
int scale = t1.getScale();
47+
TimeV2Type t = TimeV2Type.forTypeFromString(s);
48+
int scale = t.getScale();
4949
return FunctionSignature.ret(IntegerType.INSTANCE).args(TimeV2Type.of(scale));
5050
}
5151

0 commit comments

Comments
 (0)