You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "tilman151 (via GitHub)" <gi...@apache.org> on 2023/06/06 08:10:28 UTC

[GitHub] [iceberg] tilman151 opened a new issue, #7777: PyIceberg: Passing configuration for glue client when creating catalog.

tilman151 opened a new issue, #7777:
URL: https://github.com/apache/iceberg/issues/7777

   ### Feature Request / Improvement
   
   I am using pyIceberg to read tables organized in a glue catalog. My AWS credentials are stored in a `config` file and updated via SSO. I would like configure which AWS profile, e.g. sandbox or production, pyIceberg uses when it creates a glue catalog. Right now it will only pick up the default profile. I don't want to change the default profile each time.
   
   A fix would be relatively simple, i.e. passing kwargs inside `properties` to the glue client constructor:
   
   https://github.com/apache/iceberg/blob/66b0631b3f67dfbfe69bfd5974db034e9500a6fe/python/pyiceberg/catalog/glue.py#L132-L134
   
   Passing a `boto3.Session` this way would allow me to select a profile.
   
   ### Query engine
   
   Other


-- 
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-unsubscribe@iceberg.apache.org.apache.org

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


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


[GitHub] [iceberg] tilman151 closed issue #7777: PyIceberg: Passing configuration for glue client when creating catalog.

Posted by "tilman151 (via GitHub)" <gi...@apache.org>.
tilman151 closed issue #7777: PyIceberg: Passing configuration for glue client when creating catalog.
URL: https://github.com/apache/iceberg/issues/7777


-- 
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-unsubscribe@iceberg.apache.org

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


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


[GitHub] [iceberg] tilman151 commented on issue #7777: PyIceberg: Passing configuration for glue client when creating catalog.

Posted by "tilman151 (via GitHub)" <gi...@apache.org>.
tilman151 commented on issue #7777:
URL: https://github.com/apache/iceberg/issues/7777#issuecomment-1578279806

   I'll have a look.


-- 
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-unsubscribe@iceberg.apache.org

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


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


[GitHub] [iceberg] Fokko commented on issue #7777: PyIceberg: Passing configuration for glue client when creating catalog.

Posted by "Fokko (via GitHub)" <gi...@apache.org>.
Fokko commented on issue #7777:
URL: https://github.com/apache/iceberg/issues/7777#issuecomment-1578245904

   Hey @tilman151 that would be a great addition. Would you be interested in creating a pull request? Both updating the code and the docs `python/mkdocs/docs/configuration.md`


-- 
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-unsubscribe@iceberg.apache.org

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


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


[GitHub] [iceberg] tilman151 commented on issue #7777: PyIceberg: Passing configuration for glue client when creating catalog.

Posted by "tilman151 (via GitHub)" <gi...@apache.org>.
tilman151 commented on issue #7777:
URL: https://github.com/apache/iceberg/issues/7777#issuecomment-1580081080

   @Fokko PR is done. Do you want to have a look?


-- 
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-unsubscribe@iceberg.apache.org

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


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