lk-1984 commented on issue #1771: URL: https://github.com/apache/iceberg-python/issues/1771#issuecomment-2704465656
The command was "list". Btw, I pulled your repo, and built the thing in venv that has Python 3.11.. ``` (.venv) dev@M-GM0J7P2WM1 iceberg-python % pyiceberg --help Usage: pyiceberg [OPTIONS] COMMAND [ARGS]... Options: --catalog TEXT --verbose BOOLEAN --output [text|json] --ugi TEXT --uri TEXT --credential TEXT --help Show this message and exit. Commands: create Operation to create a namespace. describe Describe a namespace or a table. drop Operations to drop a namespace or table. files List all the files of the table. list List tables or namespaces. list-refs List all the refs in the provided table. location Return the location of the table. properties Properties on tables/namespaces. rename Rename a table. schema Get the schema of the table. spec Return the partition spec of the table. uuid Return the UUID of the table. version Print pyiceberg version. (.venv) dev@foobariceberg-python % touch .pyiceberg.yaml (.venv) dev@foobar iceberg-python % nvim . (.venv) dev@foobariceberg-python % pyiceberg list URI missing, please provide using --uri, the config or environment variable PYICEBERG_CATALOG__DEFAULT__URI (.venv) dev@foobar iceberg-python % pwd /Users/dev/Projects/external/iceberg-python (.venv) dev@foobar iceberg-python % export HOME=$(pwd) (.venv) dev@foobar ~ % echo $HOME /Users/dev/Projects/external/iceberg-python (.venv) dev@foobar ~ % pyiceberg list URI missing, please provide using --uri, the config or environment variable PYICEBERG_CATALOG__DEFAULT__URI (.venv) dev@foobar~ % export PYICEBERG_HOME=$(pwd) (.venv) dev@foobar~ % echo $PYICEBERG_HOME /Users/dev/Projects/external/iceberg-python (.venv) dev@foobar ~ % pyiceberg list URI missing, please provide using --uri, the config or environment variable PYICEBERG_CATALOG__DEFAULT__URI (.venv) dev@foobar~ % cat $HOME/.pyiceberg.yaml 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 (.venv) dev@foobar~ % cat $PYICEBERG_HOME/.pyiceberg.yaml 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 ``` -- 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