MChamberlin opened a new pull request, #1517:
URL: https://github.com/apache/iceberg-python/pull/1517

   Some REST catalog implementations (including the Snowflake Polaris catalog) 
return a 401 when a token is expired, raising an `UnauthorizedError` within 
pyiceberg. Refreshing the token, as is done for 419 responses, resolves the 
issue.
   
   This commit adds `UnauthorizedError` to the retry exception types for REST 
catalog calls, such that the token will be refreshed and the call retried.


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