yuqi1129 opened a new pull request, #10282:
URL: https://github.com/apache/gravitino/pull/10282

   This PR fixes issue #10281 where `MetadataObjectUtil.checkMetadataObject` 
was throwing a generic `NoSuchMetadataObjectException` instead of specific 
exceptions like `NoSuchSchemaException`, `NoSuchTableException`, etc.
   
   Changes:
   - Updated `MetadataObjectUtil.checkMetadataObject` to throw specific 
exceptions based on the metadata object type.
   - Added a regression test `testCreateTableWithNonExistentSchema` in 
`TestTableOperations` to verify that creating a table in a non-existent schema 
throws `NoSuchSchemaException`.


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