iting0321 opened a new pull request, #1828: URL: https://github.com/apache/iceberg-python/pull/1828
Closes #1784 # Rationale for this change The command order for `pyiceberg list --catalog hive` would raise error; it should be `pyiceberg --catalog hive list`. Now, `pyiceberg list --catalog hive` will return the same result as `pyiceberg --catalog hive list`. Additionally, for cases where the catalog is not found: For example, if the default catalog is not set and the command `pyiceberg list` is executed, it will raise an error stating: `Default catalog not found. Please provide a catalog type using --type.` # Are these changes tested? The tests `test_no_catalog_error` and `test_list_with_catalog_option_wrong_order` in `tests/cli/test_console.py` cover these scenarios. Additionally, I fixed `test_missing_uri`. When a catalog exists but the URI is missing, it will now return an appropriate error. -- 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