-
Notifications
You must be signed in to change notification settings - Fork 229
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
Issue trying to hit Nessie Catalog #1680
Comments
The solution to #1524 is here, #1524 (comment) Otherwise, this is a more Nessie centric question and Im not familiar with it. Could you also ask on the Nessie project?
Would be great to mention this to the Nessie project as well to improve the documentation around integration with pyiceberg |
Thank you so much for the reply. Yes, I even referenced that post in the original post. Unfortunately the OP did not post his full solution - others asked him to do so at the bottom of the post. http://localhost:19120/iceberg/v1/config?warehouse=s3%3A%2F%2Fwarehouse I think the issue that so many people are having is trying to get the right combination of code and settings to get all of this to work. I do have a request open in the nessie area, but they often point back here because load_catalog isn't theirs. |
The pyiceberg rest client takes the For any
Yea i've seen different issues of connecting to Nessie. I'm confused by the docs actually. |
Thanks for the reply! So I've been down the road of using /api instead of /iceberg. I got a 200 on the connection, but I was unable to get past these errors:
Others had the same issue, and then apparently solved them by using /iceberg. And round and round we go. Have you successfully configured Nessie? |
I have not. Im surprised that theres not a tutorial or blog from the Nessie side to show integration with pyiceberg. Maybe its a good idea to open an issue with the Nessie project to figure this out. |
Thank you again for your response. I am trying to understand why you think that this is a Nessie issue. Their endpoints seem to be pretty straight-forward and consistent (if I am wrong, please set me straight). It seems that the struggle is trying to understand how and why methods like "load_catalog" work. People come to this forum trying to understand it, and they are regularly referred to posts where a full answer is not posted. Clearly some people have this working, but it is also clear that a ton of other people are all struggling with the same thing and are hoping to find an answer. |
Pyiceberg's rest client supports any conforming Iceberg REST servers. Using This might be a configuration issue since #1524 was able to connect to Nessie via its REST endpoint. I can take a look and try to set up a Nessie server when I get some time. The reason I want to defer to the Nessie project is because Pyiceberg's rest client should work like any other rest client, such as Trino/Spark. So the same configuration for setting up a Nessie REST catalog in Spark should work for pyiceberg. |
It absolutely could be a setup issue, I don't know. I had no problem getting it to work with other catalog types. |
Apache Iceberg version
0.8.1 (latest release)
Please describe the bug 🐞
When trying to use this functionality, there is a ton of confusion around the internet. A similar question was recently posted but the OP's good configuration was never posted. I am posting my question here because of the confusion around the URI that is generated by the code.
I have this code:
Why is this url being generated?
the /api/v2/config url works fine:
Like many others, I am a bit confused as to how this all ties toegether.
Willingness to contribute
The text was updated successfully, but these errors were encountered: