henrib commented on PR #5871:
URL: https://github.com/apache/hive/pull/5871#issuecomment-2979080343

   @okumin , setting the property hive.metastore.catalog.cache.expiry=-1 in the 
configuration disables the cache which solves the issue of creating/updating 
tables through the catalog triggering an error. The actual coding solution to 
that error might just be overriding buildTable() as mentioned above. Removing 
the caching code will just make querying - which is expected to be the most 
common operation - slower and less efficient; caching is already necessary at 
scale.
   If overriding buildTable() seems too complicated or not sufficient, changing 
the default value for the property is enough to solve the issue for users 
updating tables through catalog without impeding querying usage for the most 
common case.


-- 
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: gitbox-unsubscr...@hive.apache.org

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


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

Reply via email to