Fokko commented on code in PR #1307:
URL: https://github.com/apache/iceberg-python/pull/1307#discussion_r1849135659
##########
pyiceberg/catalog/glue.py:
##########
@@ -305,7 +308,18 @@ def __init__(self, name: str, **properties: Any):
aws_secret_access_key=get_first_property_value(properties,
GLUE_SECRET_ACCESS_KEY, AWS_SECRET_ACCESS_KEY),
aws_session_token=get_first_property_value(properties,
GLUE_SESSION_TOKEN, AWS_SESSION_TOKEN),
)
- self.glue: GlueClient = session.client("glue",
endpoint_url=properties.get(GLUE_CATALOG_ENDPOINT))
+ self.glue: GlueClient = session.client(
+ "glue",
+ endpoint_url=properties.get(GLUE_CATALOG_ENDPOINT),
+ config=Config(
+ retries={
+ "max_attempts": get_first_property_value(properties,
GLUE_MAX_RETRIES)
+ if get_first_property_value(properties, GLUE_MAX_RETRIES)
+ else MAX_RETRIES,
+ "mode": "standard",
Review Comment:
@mark-major We're almost there, are you interested in pushing this over the
finish line?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]