github-actions[bot] opened a new pull request, #6987: URL: https://github.com/apache/gravitino/pull/6987
### What changes were proposed in this pull request? Support update comment for model version - [x] PR1: Add ModelVersionChange API interface, Implement the update comment logic in model catalog and JDBC backend logic, update related event. - [X] PR2: Add REST endpoint to support model version change, add Java client and Python client for model version comment update. ### Why are the changes needed? Fix: #6815 ### Does this PR introduce _any_ user-facing change? Add support for updating comments on model versions. Users can now update a model version's comment via the REST API. ### How was this patch tested? local test. original model version comment. <img width="1055" alt="image" src="https://github.com/user-attachments/assets/c74c4dd1-f785-4c74-ae17-d666b06950f0" /> `bin/gcli.sh model update -m demo_metalake --name model_catalog.schema.model2 --version 0 --comment 'new comment'` <img width="1057" alt="image" src="https://github.com/user-attachments/assets/a866371e-df0b-4999-adb6-8543eaff73a3" /> `bin/gcli.sh model update -m demo_metalake --name model_catalog.schema.model2 --alias test --comment 'new comment by alias'` <img width="1070" alt="image" src="https://github.com/user-attachments/assets/2f838272-21a1-45b7-944d-014e45c7a511" /> -- 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]
