mobley-trent opened a new issue, #78:
URL: https://github.com/apache/iceberg-python/issues/78

   ### Apache Iceberg version
   
   0.5.0 (latest release)
   
   ### Please describe the bug 🐞
   
   Python = 3.11
   PostgreSql = v16
   
   I'm having issues setting up the initial connection to postgresql. I'm 
trying to run the code in the docs but I'm getting this error:
   
   ```
   sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation 
"iceberg_tables" does not exist
   LINE 2: FROM iceberg_tables
                ^
   ```
   
   This is my code:
   ```python
   catalog = load_catalog(
       "demo",
       **{
           "type": "sql",
           "uri": "postgresql+psycopg2://[username]:[passwd]@localhost/demo"
       }
   )
   
   catalog.create_namespace("docs_example")
   ```
   
   This is the `.pyiceberg.yaml` file:
   ```yaml
   catalog:
     demo:
       type: sql
       uri: postgresql+psycopg2://[username]:[passwd]@localhost/demo
   ```
   
   `demo` is the name of the database I'm using, it has a table named 
`students` which I'm trying to access. 
   I've attached the full stack trace for your review.
   
[stack_trace_iceberg.txt](https://github.com/apache/iceberg-python/files/12917749/stack_trace_iceberg.txt)
   
   


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