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: [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]