FickleLife commented on issue #19:
URL: https://github.com/apache/iceberg-python/issues/19#issuecomment-2764311689

   I also cannot connect to Nessie via PyIceberg backed with Minio. Nessie and 
Minio under Docker on a different machine to the development machine. The code:
   
   `catalog = load_catalog(
           "nessie",
           **{
               "uri": "http://192.168.1.xxx:19120/api";,
               "warehouse": "s3://warehouse/",
               "s3.access-key-id": "xxx",
               "s3.secret-access-key": "xxx",
               "s3.endpoint": "http://192.168.1.xxx:9000";,
               "s3.path-style.access": "true",
               
           }
       )`
   
   Returns:
   `Exception has occurred: ValidationError
   2 validation errors for ConfigResponse
   defaults
     Field required [type=missing, input_value={'defaultBranch': 
'main',...SupportedApiVersion': 2}, input_type=dict]
       For further information visit https://errors.pydantic.dev/2.9/v/missing
   overrides
     Field required [type=missing, input_value={'defaultBranch': 
'main',...SupportedApiVersion': 2}, input_type=dict]
       For further information visit https://errors.pydantic.dev/2.9/v/missing
     File 
"/Users/xxx/Development/bp_index/src/iceberg_createtable_category.py", line 20, 
in create_category_table
       catalog = load_catalog(
                 ^^^^^^^^^^^^^
     File 
"/Users/xxx/Development/bp_index/src/iceberg_createtable_category.py", line 38, 
in <module>
       create_category_table()
   pydantic_core._pydantic_core.ValidationError: 2 validation errors for 
ConfigResponse
   defaults
     Field required [type=missing, input_value={'defaultBranch': 
'main',...SupportedApiVersion': 2}, input_type=dict]
       For further information visit https://errors.pydantic.dev/2.9/v/missing
   overrides
     Field required [type=missing, input_value={'defaultBranch': 
'main',...SupportedApiVersion': 2}, input_type=dict]
       For further information visit https://errors.pydantic.dev/2.9/v/missing`
   
   I see a working config here: 
https://github.com/apache/iceberg-python/issues/1524#issuecomment-2683847774 
but this is using "rest" in `load_catalog()` instead of "Nessie" - I have tried 
this but also got errors. I also from the documentation 
https://projectnessie.org/nessie-latest/configuration/#advanced-docker-image-tuning-java-images-only
 I don't think you have the config variables available in docker as specified 
in the above post. Any clues to getting PyIceberg running with Nessie? 


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to