kevinjqliu commented on issue #845:
URL: https://github.com/apache/iceberg-python/issues/845#issuecomment-2189625956

   To clarify, the example above does not work unless the `table.identifier` 
override is applied, right? 
   
   Non-working example:
   ```
   database = 'db'
   table_name = 'table'
   table = catalog.load_table(f'{database}.{table_name}')
   table.overwrite(df)
   ```
   
   Working example:
   ```
   database = 'db'
   table_name = 'table'
   table = catalog.load_table(f'{database}.{table_name}')
   table.identifier = (catalog_name, database, table_name)
   table.overwrite(df)
   ```
   
   For Glue catalog, the catalog name is used as part of the table identifier 
   
https://github.com/apache/iceberg-python/blob/a6cd0cf325b87b360077bad1d79262611ea64424/pyiceberg/catalog/glue.py#L326
   
   Maybe there's a mismatch between the glue name and the catalog name 


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