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

   ### What changes were proposed in this pull request?
   
   Cherry-pick of #13874 to branch-1.3. `LoadTableAuthzHandler` treats a 
multi-level request with a metadata-table name as a metadata-table request only 
when the backend does not resolve it to a real table, through the new 
`IcebergCatalogWrapper.resolvesToMetadataTable`.
   
   The automatic cherry-pick in #13915 conflicted only in the imports of 
`IcebergCatalogWrapper`: branch-1.3 imports `NoSuchViewException` where #13874 
added `NoSuchTableException`. This PR keeps both; the rest applies unchanged. 
It supersedes #13915.
   
   ### Why are the changes needed?
   
   Backport the fix for #13870 to branch-1.3, which has hierarchical schemas 
and the same handler.
   
   Fix: #13870
   
   ### Does this PR introduce _any_ user-facing change?
   
   Tables with metadata-table names in nested namespaces can be loaded, as in 
#13874.
   
   ### How was this patch tested?
   
   The `TestLoadTableAuthzHandler` cases from #13874; on branch-1.3 the 
real-table and load-failure cases fail against the pre-fix handler.
   


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