-
Notifications
You must be signed in to change notification settings - Fork 289
Validation Error in ConfigResponse Model When connecting Nessie with PyIceberg using RestCatalog #1524
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
Comments
@heman026 Thanks for raising this, and happy to help. Do you have a full stack-trace? |
|
Thanks @heman026 for the quick reply. It looks like fields are missing from the This is how the response should look like: https://github.com/apache/iceberg/blob/d96901b843395fe669f6bd4f618f8e5e46c0eed4/open-api/rest-catalog-open-api.yaml#L1907-L1938 |
DEBUG:urllib3.connectionpool:http://10.xx.xx.xx:19120 "GET /api/v1/config?warehouse=s3a%3A%2F%2Ficeberg-datalake HTTP/11" 200 84
If I change the api version to v2 in rest.py, I am getting the following, with the same error |
That doesn't look like the Iceberg REST protocol at all. I'm not an expert on Nessie, but maybe we can debug it together. What endpoint did you configure in PyIceberg? |
This is the pyiceberg config -
|
Looks like its an issue with the |
Thanks Working |
Thanks for confirming @heman026, closing this one |
Thanks @heman026 for sharing the solution Would you mind sharing your configuration and how you load it? I assume you are referring the tutorial similar to https://www.dremio.com/blog/intro-to-dremio-nessie-and-apache-iceberg-on-your-laptop/ |
Care to share your working setup? |
Hi @adamcodes716, @HungYangChang I have started Nessie with the following configuration:
Configuration for REST catalog configuration
|
Hi @heman026 , I have tried your exact config above, but the Nessie endpoint at /iceberg is not valid, returning a 404. Does anyone have any other ideas on how to connect pyiceberg to Nessie? |
Question
I tried connecting to Nessie using load_catalog and RestCatalog() from pyiceberg, but I am getting the below error in Config Response Model,
Rest Catalog Code
load_catalog
Please help me resolve this issue.
The text was updated successfully, but these errors were encountered: