get_table_names() returns incorrect list of table names when querying Spark SQL Thriftserver
Open
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 545
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I found out that the method `get_table_names()` in class HiveDialect in sqlalchemy_hive.py does not return correct names of tables. The result of query `show tables` are 3-tuples in the form `(schema_name , table_name , isTemporary)`. You need to get index 1 for `table_names`, but you get index 0. So it returns a list of duplicates of the `schema_name`.
What can we do to fix this?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.