kevinjqliu commented on issue #939: URL: https://github.com/apache/iceberg-python/issues/939#issuecomment-2234269294
Pyiceberg can be used as either a client or a server. In the example above, the `load_catalog` function creates a client using the Pyiceberg library. This client is used to interact with the rest of the ecosystem. For `load_catalog`, when given an `uri` param, the function creates a REST catalog client. Calling the subsequent `create_namespace` function will send an HTTP request to the REST catalog server address (`localhost:8000`). The 500 error is related to a server issue, which means the server running on port 8000 has errored. Here's the doc on REST catalog configs https://github.com/apache/iceberg-python/blob/main/mkdocs/docs/configuration.md#rest-catalog -- 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