AKSHAT-KUMAR-GUPTA07 opened a new pull request, #8352:
URL: https://github.com/apache/gravitino/pull/8352

   …age (fixes #8349)
   
   <!--
   1. Title:[#8349] fix(core): use correct entity type MODEL instead of CATALOG 
in ModelMetaService
   
   2. If the PR is unfinished, please mark this PR as draft.
   -->
   
   ### What changes were proposed in this pull request?
   
   Replaced `Entity.EntityType.CATALOG` with `Entity.EntityType.MODEL` in  
   
`core/src/main/java/org/apache/gravitino/storage/relational/service/ModelMetaService.java`.
   
   ### Why are the changes needed?
   
   This fixes the wrong entity type passed into 
`ExceptionUtils.checkSQLException`.  
   The correct entity type for `ModelMetaService` is `MODEL`, not `CATALOG`.
   
   Fix: #(issue)
   
   ### Does this PR introduce _any_ user-facing change?
   
   
   No user-facing changes. Internal bugfix only.
   
   ### How was this patch tested?     - "[#123] feat(operator): support xxx"
        - "[#233] fix: check null before access result in xxx"
        - "[MINOR] refactor: fix typo in variable name"
        - "[MINOR] docs: fix typo in README"
        - "[#255] test: fix flaky test NameOfTheTest"
      Reference: https://www.conventionalcommits.org/en/v1.0.0/
   
   I have not verified the build or run tests locally due to environment 
limitations.  
   Please confirm if running the full test suite is required for this change.
   


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