This is an automated email from the ASF dual-hosted git repository.
honahx pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git
The following commit(s) were added to refs/heads/main by this push:
new bc7ed1c Remove redundant API call to Glue (#300)
bc7ed1c is described below
commit bc7ed1c3ad2f55be4a0b6a9c67aff7401de3be6f
Author: Drew Gallardo <[email protected]>
AuthorDate: Wed Jan 24 17:53:56 2024 -0800
Remove redundant API call to Glue (#300)
---
pyiceberg/catalog/glue.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/pyiceberg/catalog/glue.py b/pyiceberg/catalog/glue.py
index bccbfa4..645568f 100644
--- a/pyiceberg/catalog/glue.py
+++ b/pyiceberg/catalog/glue.py
@@ -597,7 +597,6 @@ class GlueCatalog(Catalog):
table_list: List[TableTypeDef] = []
next_token: Optional[str] = None
try:
- table_list_response =
self.glue.get_tables(DatabaseName=database_name)
while True:
table_list_response = (
self.glue.get_tables(DatabaseName=database_name)
@@ -624,7 +623,6 @@ class GlueCatalog(Catalog):
return []
database_list: List[DatabaseTypeDef] = []
- databases_response = self.glue.get_databases()
next_token: Optional[str] = None
while True: