geruh opened a new pull request, #2848:
URL: https://github.com/apache/iceberg-python/pull/2848

   closes to #2847 
   
   # Rationale for this change
   
   This PR adds the server endpoint capabilities support, aligning with the 
Java 
[implementation](https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java).
 While working on the REST scanning support, we need to know if a server 
supports specific capabilities before making any calls. So this PR also adds 
some extra support for the current implementation of PI iceberg REST catalog.
   
   The REST catalog will now parse the endpoints field from the config call to 
determine server capabilities. When a server doesn't respond, we have fallback 
logic that matches the behavior of Java's rest catalog. The View endpoints are 
conditionally added to the default with the config property as well.
   
   ## Are these changes tested?
   
   Added unit tests and tested with the iceberg rest fixture.
   
   ## Are there any user-facing changes?
   Yes added config and alignment with java impl.
   
   cc: @kevinjqliu @Fokko 


-- 
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]

Reply via email to