shubham-tomar commented on issue #231:
URL: https://github.com/apache/iceberg-go/issues/231#issuecomment-2633908547
How can i use it with nessie?
for example in python i can do this
CATALOG_URI is my nessie endpoint
`def get_catalog() -> pyiceberg.catalog.Catalog:
try:
uri = os.path.join(configuration.CATALOG_URI, 'iceberg',
configuration.CATALOG_BRANCH)
catalog = load_catalog(
"catalog",
**{
"uri": uri,
"py-io-impl": configuration.CATALOG_PY_IO_IMP,
"s3.region": configuration.S3_REGION,
}
)
logger.info(f"Iceberg Rest catalog initialised")
return catalog
except Exception as e:
logger.error(f"failed to load catalog | {e}")
raise Exception(f"failed to load catalog | {e}")`
--
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]