You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "geruh (via GitHub)" <gi...@apache.org> on 2024/01/24 18:01:21 UTC
[PR] Remove redundant API call to Glue [iceberg-python]
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] Remove redundant API call to Glue [iceberg-python]
Posted by "HonahX (via GitHub)" <gi...@apache.org>.
HonahX merged PR #300:
URL: https://github.com/apache/iceberg-python/pull/300
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org