flyrain commented on code in PR #2714:
URL: https://github.com/apache/polaris/pull/2714#discussion_r2392899777


##########
persistence/relational-jdbc/src/main/java/org/apache/polaris/persistence/relational/jdbc/models/Converter.java:
##########
@@ -35,10 +35,10 @@ public interface Converter<T> {
   T fromResultSet(ResultSet rs) throws SQLException;
 
   /**
-   * Convert a model into a Map with keys as snake case names, where as values 
as values of member
-   * of model obj.
+   * Convert a model into a Map with keys as snake case names, and values as 
values of member of
+   * model obj.
    */
-  Map<String, Object> toMap(DatabaseType databaseType);
+  Map<String, Object> toMap(DatabaseType databaseType, int schemaVersion);

Review Comment:
   We don't have to change this interface if we allow the `ModelEntity` carry a 
new field for schema version. 



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