felixscherz commented on issue #692:
URL: https://github.com/apache/iceberg-python/issues/692#issuecomment-2094183984

   Hi, I just tried this on my machine, could you double check the properties 
that you pass to `load_catalog`. I believe the glue catalog looks for the AWS 
profile name under `profile_name` instead of `profile` (see  
[`GlueCatalog`](https://github.com/apache/iceberg-python/blob/7bd5d9e6c32bcc5b46993d6bfaeed50471e972ae/pyiceberg/catalog/glue.py#L280-L295)).
 
   This works for me after setting up an S3 bucket and a glue database:
   ```python
   # Instantiate glue catalog
   catalog = load_catalog(
       "glue",
       **{
           "type": "glue",
           "s3.region": "<region>",
           "s3.access-key-id": "<access-key>",
           "s3.secret-access-key":"<secret-key>",
           "profile_name": "<aws-profile-name>"
       },
   )
   ```


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