xuzifu666 commented on code in PR #4323:
URL: https://github.com/apache/calcite/pull/4323#discussion_r2053390814


##########
core/src/main/java/org/apache/calcite/sql/dialect/MysqlSqlDialect.java:
##########
@@ -71,10 +71,22 @@ public class MysqlSqlDialect extends SqlDialect {
             return 65535;
           case TIMESTAMP:
             return 6;
+          case DECIMAL:
+            return 65;
           default:
             return super.getMaxPrecision(typeName);
           }
         }
+
+        @Override public int getMaxScale(SqlTypeName typeName) {

Review Comment:
   It‘s my mistake!  thanks for the correction,I would doube check them again. 
@mihaibudiu 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to