Skip to content

Commit f3bd581

Browse files
committed
last
1 parent e257cec commit f3bd581

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

fe/fe-common/src/main/java/org/apache/doris/catalog/ScalarType.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,9 +1157,6 @@ public static ScalarType getAssignmentCompatibleType(
11571157
if (t1.isDatetimeV2() && t2.isDatetimeV2()) {
11581158
return t1.scale > t2.scale ? t1 : t2;
11591159
}
1160-
if (t1.isTimeV2() && t2.isTimeV2()) {
1161-
return t1.scale > t2.scale ? t1 : t2;
1162-
}
11631160
if ((t1.isDatetimeV2() || t1.isDateV2()) && (t2.isDatetimeV2() || t2.isDateV2())) {
11641161
return t1.isDatetimeV2() ? t1 : t2;
11651162
}

0 commit comments

Comments
 (0)