Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about REST Catalog Implementation #102

Open
chespinoza opened this issue Feb 14, 2025 · 1 comment
Open

Question about REST Catalog Implementation #102

chespinoza opened this issue Feb 14, 2025 · 1 comment

Comments

@chespinoza
Copy link

Hey there, thanks for this project; it looks great!

I was looking into the implementation of the REST Catalog connection here #92
and I couldn't find any parameters to connect to a REST Catalog using credentials or scope; in Pyiceberg you would usually connect using something like this:

catalog_config = {
    "name": "nzl_rest_test", 
    "uri": "http://127.0.0.1:8181/api/catalog",
    "oauth2-server-uri": "http://127.0.0.1:8181/api/catalog/v1/oauth/tokens",
    "credential": "YYY:XXXXX",
    "type": "rest",
    "scope": "PRINCIPAL_ROLE:ALL",
    "warehouse":"test-catalog"
}
catalog = load_catalog(**catalog_config)

But, the current implementation doesn't cover these standard parameters. Maybe I am missing something?
Many thanks.

@chespinoza chespinoza changed the title Question about REST Implementation Question about REST Catalog Implementation Feb 14, 2025
@djouallah
Copy link

i don't think duckdb iceberg support using tokens generated from a rest catalog, for now, i think it is safe just to use pyiceberg :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants