We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e257cec commit f3bd581Copy full SHA for f3bd581
fe/fe-common/src/main/java/org/apache/doris/catalog/ScalarType.java
@@ -1157,9 +1157,6 @@ public static ScalarType getAssignmentCompatibleType(
1157
if (t1.isDatetimeV2() && t2.isDatetimeV2()) {
1158
return t1.scale > t2.scale ? t1 : t2;
1159
}
1160
- if (t1.isTimeV2() && t2.isTimeV2()) {
1161
- return t1.scale > t2.scale ? t1 : t2;
1162
- }
1163
if ((t1.isDatetimeV2() || t1.isDateV2()) && (t2.isDatetimeV2() || t2.isDateV2())) {
1164
return t1.isDatetimeV2() ? t1 : t2;
1165
0 commit comments