-
Notifications
You must be signed in to change notification settings - Fork 243
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
CLI list not working #1122
Comments
Looks like the catalog inference code requires the URI to include iceberg-python/pyiceberg/catalog/__init__.py Line 198 in dc6d242
|
Still the same error: pyiceberg list --uri http://localhost:8181
URI missing, please provide using --uri, the config or environment variable PYICEBERG_CATALOG__DEFAULT__URI even if thats the case, the error message is a bit cryptic. |
can you try
from https://py.iceberg.apache.org/cli/
|
agreed, the CLI needs some improvements |
Thanks, putting uri in front of commands worked!
I would expect this will not attempting to make any connection calls, but simply print the help message |
yea same, perhaps its some setting with the iceberg-python/pyiceberg/cli/console.py Lines 107 to 111 in 9857107
|
I would say |
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible. |
Apache Iceberg version
0.7.1 (latest release)
Please describe the bug 🐞
I am currently trying out the pyiceberg CLI, and found this command seems not working as expected:
returns
The catalog instance is created from the official quickstart (can confirm it is working by spark-sql and connects to the minio instance and confirm data and metadata files are created correctly). If I understood it correctly, it exposes the catalog at
8181
.I have tried a dozens of others ports and urls (such as
s3://warehouse
), not working either. Seems the problem is that, the argument is simply not propagated into the config in the end somehow.The text was updated successfully, but these errors were encountered: