[Bug](decimalv3) always use decimalv3 for show create table (#16295)

This commit is contained in:
Gabriel
2023-02-01 09:54:42 +08:00
committed by GitHub
parent 0b1202051e
commit 17bec356a3

View File

@ -564,7 +564,7 @@ public class ScalarType extends Type {
case DECIMAL32:
case DECIMAL64:
case DECIMAL128:
String typeName = Config.enable_decimal_conversion ? "decimal" : "decimalv3";
String typeName = "decimalv3";
if (Strings.isNullOrEmpty(precisionStr)) {
stringBuilder.append(typeName).append("(").append(precision)
.append(", ").append(scale).append(")");