Fokko commented on issue #156:
URL: https://github.com/apache/iceberg-python/issues/156#issuecomment-1821477059

   Hey @asheeshgarg You can already do this. 
   
   The configuration in `~/.pyiceberg.yaml`:
   ```yaml
   catalog:
       hive:
           uri: thrift://127.0.0.1:9083
           s3.endpoint: http://127.0.0.1:9000
           s3.access-key-id: admin
           s3.secret-access-key: password
   
       rest:
           uri: https://rest-server:8181/
           warehouse: Fokko
   ```
   
   In Python you can load the different catalogs like this:
   
   ```python
   from pyiceberg.catalog import load_catalog
   
   hive = load_catalog('hive')
   rest = load_catalog('rest')
   ```


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