jerryshao commented on code in PR #6996:
URL: https://github.com/apache/gravitino/pull/6996#discussion_r2050167685
##########
api/src/main/java/org/apache/gravitino/model/ModelVersionChange.java:
##########
@@ -40,6 +40,27 @@ static ModelVersionChange updateComment(String newComment) {
return new ModelVersionChange.UpdateComment(newComment);
}
+ /**
+ * Create a ModelVersionChange for setting a property of a model version.
+ *
+ * @param property name of the property to be set
+ * @param value value to be set for the property
+ * @return A new ModelVersionChange instance for setting a property of a
model version
+ */
+ static ModelVersionChange setProperty(String property, String value) {
Review Comment:
Let's keep the convention.
--
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]