iting0321 commented on issue #1784:
URL: 
https://github.com/apache/iceberg-python/issues/1784#issuecomment-2727458081

   
   Hi, I have some questions.  
   If the command is `pyiceberg list`, I need to read the `default` entry in 
the catalog. However, what if `default` is not set in the catalog?  
   
   Additionally, if the command is `pyiceberg list --catalog hive`, should I 
simply return a command order error, or should I read the `default` catalog and 
return the result as if the command were `pyiceberg list` at the same time?  
   
   ---
   
   Also, I would like to know whether you can provide an example of 
`.pyiceberg.yaml` that I can test locally. I am a bit confused about the 
content of `.pyiceberg.yaml`. For example, can we set the same `uri` prefix for 
both `hive` and `default`?  
   
   ```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
     default:
       uri: thrift://default-catalog:9083
   ```  
   
   


-- 
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

Reply via email to