-
Notifications
You must be signed in to change notification settings - Fork 212
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
[BUG] Catalog.list_tables()
inconsistency between docstring and signature
#1163
Comments
Thanks for reporting this! I noticed it too when reviewing #1140. I think the spec only allows listing tables in a namespace. And the reference Java HiveCatalog implementation too So I assume the docstring is outdated |
Thank you for raising this issue @dataders good to see you here on the GitHub Repository 🙂 I agree with @kevinjqliu 's finding that the docstring is outdated, and that we should update it to be compliant with the spec. Would you be interested in submitting a PR? |
of course! thanks for giving me the opportunity. I'll try and ship something by EOTW One question I have is how the docstrings correspond to The Code Reference page of the docs site (https://py.iceberg.apache.org/reference/pyiceberg/). Ostensibly, the docs page is auto-generated from the source code, for all base classes (but not ABCs)? |
Hey there, found a couple more instances iceberg-python/pyiceberg/catalog/__init__.py Line 595 in d8d509f
iceberg-python/pyiceberg/catalog/sql.py Line 580 in d8d509f
I think this should cover all of them |
Apache Iceberg version
0.7.1 (latest release)
Please describe the bug 🐞
the docstring for
catalog.list_tables()
saysBut I'm finding that to not be the case! The function definition itself seems to not allow this
iceberg-python/pyiceberg/catalog/__init__.py
Lines 563 to 577 in 77406b0
error
The text was updated successfully, but these errors were encountered: