geruh opened a new pull request, #300:
URL: https://github.com/apache/iceberg-python/pull/300

   While reviewing the GlueCatalog implementation in Python, I noticed the 
listing methods for tables and namespaces are making redundant calls to AWS 
Glue. This PR removes the extra call and ensures that all data retrieval and 
pagination handling remains consistent. 
   
   ## Manual Testing
   
   Before:
   ```
   print(glue_catalog.list_namespaces())
   > [('default',), ('spark',)]
   
   print(glue_catalog.list_tables("default"))
   > [('default', 'amazon'), ('default', 'cmd'), ('default', 'history'), 
('default', 'snapshots'), ('default', 'table3'), ('default', 'table3_copy'), 
('default', 'table4')]
   ```
   
   After:
   ```
   print(glue_catalog.list_namespaces())
   > [('default',), ('spark',)]
   
   print(glue_catalog.list_tables("default"))
   > [('default', 'amazon'), ('default', 'cmd'), ('default', 'history'), 
('default', 'snapshots'), ('default', 'table3'), ('default', 'table3_copy'), 
('default', 'table4')]
   ```


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