bharos commented on PR #9183:
URL: https://github.com/apache/gravitino/pull/9183#issuecomment-3555524420

   > Gravitino doesn't have API to dedicated the metadata object existence. 
Gravitino will use loadxxx API to verify the metadata object existence. So we 
would better to catch `ForbiddenException` and return false.
   
   The current fix bypasses gravitinoCatalogClient.loadTable() entirely to 
avoid requiring LOAD_TABLE privilege for an existence check. Instead, it uses 
sparkCatalog.tableExists()] which goes directly to the backend, ie. Iceberg 
REST server.
   
   I think LOAD_TABLE should work with Iceberg REST server API ?
   Key point here is that I am bypassing gravitinoCatalogClient and directly 
hitting the Iceberg REST API ?


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