[Bug](materialized-view) fix where clause persistence replay incorrect (#18228)

fix where clause persistence replay incorrect
This commit is contained in:
Pxl
2023-04-03 12:49:01 +08:00
committed by GitHub
parent 94e3472050
commit e77833bfa1
20 changed files with 95 additions and 94 deletions

View File

@ -525,14 +525,14 @@ public class ScalarType extends Type {
return "CHAR(" + len + ")";
} else if (type == PrimitiveType.DECIMALV2) {
if (isWildcardDecimal()) {
return "DECIMAL(*,*)";
return "DECIMAL(*, *)";
}
return "DECIMAL(" + precision + "," + scale + ")";
return "DECIMAL(" + precision + ", " + scale + ")";
} else if (type.isDecimalV3Type()) {
if (isWildcardDecimal()) {
return "DECIMALV3(*,*)";
return "DECIMALV3(*, *)";
}
return "DECIMALV3(" + precision + "," + scale + ")";
return "DECIMALV3(" + precision + ", " + scale + ")";
} else if (type == PrimitiveType.DATETIMEV2) {
return "DATETIMEV2(" + scale + ")";
} else if (type == PrimitiveType.TIMEV2) {