henrib commented on issue #13800:
URL: https://github.com/apache/iceberg/issues/13800#issuecomment-3192398052

   It is intended to be used within HMS when exposing a REST Catalog; the 
catalog instance is wrapped in a a cache that delegates all calls besides 
loadTable. On a cache hit, the Table object staleness is assessed by looking at 
the latest known metadata location from the HMS store. This ensures that 
loadTable() always returns the latest committed version.
   This could be performed directly but the HiveCatalog has all the method - 
and a client pool - that makes it easy to implement and logical to expose.
   The goal is definitely not to be a shortcut of 
client.loadTable().property("metadata_location"); it is intended to be a simple 
(and hopefully fast) query avoiding materializing the object that only makes 
sense within HiveCatalog.


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to