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


##########
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:
   ideally you can add here links to the documentation and specify also the 
version of the database, so people can check whether the values are still 
accurate as things change



-- 
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