procura-interna opened a new pull request, #9656:
URL: https://github.com/apache/gravitino/pull/9656

   ### What changes were proposed in this pull request?
   
   Prevent the SetModelVersionProperty CLI command from accepting both an alias 
and version (or neither), ensuring it fails instead of invoking the server with 
invalid inputs.
   
   ### Why are the changes needed?
   
   Fix: #9076
   
   ### Does this PR introduce _any_ user-facing change?
   
   After calling the constructor of SetModelVersionProperty with either both 
alias and version as null or alias and version as non-null, an exception will 
be thrown by .validate()
   
   ### How was this patch tested?
   
   Added test class: SetModelVersionPropertyTest
   Ran tests: ./gradlew :clients:test


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