-
Notifications
You must be signed in to change notification settings - Fork 266
improve pyiceberg CLI #1784
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
Comments
Hi, I can work on this issue. |
sure @iting0321 happy to help review :) |
Hi, I have some questions. Additionally, if the command is Also, I would like to know whether you can provide an example of catalog:
hive:
uri: thrift://localhost:9083
s3.endpoint: http://localhost:9100
s3.access-key-id: admin
s3.secret-access-key: adminadmin
s3.region: us-east-1
default:
uri: thrift://default-catalog:9083 |
@iting0321 heres the current documentation for the CLI https://py.iceberg.apache.org/cli/ In general, the CLI requires a connection to the catalog. This can be done by passing the catalog configs via parameters, such as
this should error because the CLI cannot connect to any catalog
it would be nice to not enforce the order of the parameters. I think
your example looks correct. You can set the same uri if you like. The |
Feature Request / Improvement
Based on issues described in #1771
We'd want to make it clear that the
default
catalog is used by default when no--catalog
parameter is given. For example,pyiceberg list
uses thedefault
entry in the.pyiceberg.yaml
fileWe should fix the order of the parameter passed into the CLI. For example,
pyiceberg list --catalog hive
does not override thecatalog
butpyiceberg --catalog hive list
does.The text was updated successfully, but these errors were encountered: