justinmclean opened a new issue, #8348:
URL: https://github.com/apache/gravitino/issues/8348

   ### What would you like to be improved?
   
   In 
common/src/main/java/org/apache/gravitino/dto/requests/SchemaUpdatesRequest.java
 undates should be non-null.
   
   Here's a test to help:
   ```
     @Test
     public void testSchemaUpdatesRequestWithUpdatesNull() {
       SchemaUpdatesRequest schemaUpdatesRequest = new 
SchemaUpdatesRequest(null);
   
       Assertions.assertThrows(
           IllegalArgumentException.class,
           schemaUpdatesRequest::validate,
           "updates must not be null");
     }
   ```
   
   ### How should we improve?
   
   Add precondition


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