predator4ann commented on code in PR #6657:
URL: https://github.com/apache/gravitino/pull/6657#discussion_r2123229198


##########
catalogs/catalog-jdbc-common/src/main/java/org/apache/gravitino/catalog/jdbc/operation/JdbcTableOperations.java:
##########
@@ -626,4 +631,16 @@ protected JdbcColumn.Builder 
getBasicJdbcColumnInfo(ResultSet column) throws SQL
         .withNullable(nullable)
         .withDefaultValue(defaultValue);
   }
+
+  /**
+   * Calculate the precision for time/datetime/timestamp types.
+   *
+   * @param typeName the type name from database
+   * @param columnSize the column size from database
+   * @param scale
+   * @return the precision of the time/datetime/timestamp type
+   */
+  public Integer calculateDatetimePrecision(String typeName, int columnSize, 
int scale) {
+    return null;

Review Comment:
   It provides a default behavior for catalogs that do not implement this 
method.



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