Apache Iceberg version
main (development)
Please describe the bug 🐞
New problem related to #1145, if there are tables with no "table_type" in table.parameters, cli could not list tables properly but runs into an exception. Or should every hive table have "table_type" default value in table.parameters?
| database_name=self.identifier_to_database(namespace, NoSuchNamespaceError) |
| withself._clientasopen_client: |
| return [ |
| (database_name, table.tableName) |
| fortableinopen_client.get_table_objects_by_name( |
| dbname=database_name, tbl_names=open_client.get_all_tables(db_name=database_name) |
| ) |
| iftable.parameters[TABLE_TYPE].lower() ==ICEBERG |
| ] |
Apache Iceberg version
main (development)
Please describe the bug 🐞
New problem related to #1145, if there are tables with no "table_type" in table.parameters, cli could not list tables properly but runs into an exception. Or should every hive table have "table_type" default value in table.parameters?
iceberg-python/pyiceberg/catalog/hive.py
Lines 647 to 655 in b2f0a9e