munip opened a new issue, #928:
URL: https://github.com/apache/iceberg-python/issues/928
### Question
I have been able to access a S3 bucket with pyIceberg using SqlCatalog
successfully with
catalog = SqlCatalog(
"default",
**{
"uri": f"sqlite:///{warehouse_path}/pyiceberg_catalog.db",
"warehouse": "s3://myicebergbkt/test",
"s3.access-key-id": "myid",
"s3.secret-access-key": "mykey",
"s3.session-token":"my-token"
"s3.region": "us-east-1"
},
)
But, when I try accessing the same with S3 express one bucket, I am stuck on
the syntax. Tried all options with no luck:
catalog = SqlCatalog(
"default",
**{
"uri": f"sqlite:///{warehouse_path}/pyiceberg_catalog.db",
"warehouse":
"s3://us-east-1:730335207565:bucket/pyicebkt--use1-az4--x-s3/test", # I have
also tried 730335207565:bucket/pyicebkt--use1-az4--x-s3 and just
pyicebkt--use1-az4--x-s3 with no lcuk
"s3.access-key-id": "myid",
"s3.secret-access-key": "mykey",
"s3.session-token":"my-token"
"s3.region": "us-east-1"
},
)
I get the error : " Expected an S3 object path of the form 'bucket/key...',
got a URI: "
Is S3 express one zone supported? If so, what is the syntax for warehouse
variable?
--
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]