-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There was an error loading the tables - for impala datasource #23850
Comments
Same here! |
I meet the same problem |
Same here! |
I can confirm we have the same issue. Instead the query from sql tab is working fine |
Same here! |
I met a similar problem with an Athena datasource. I found that superset 2.1.0 uses SQLAlchemy's get_view_names() here. The pyAthena version suggested in the docs did not implement this call, and the NotImplementedError was being caught and supressed by superset code. I solved by upgrading pyAthena to >=2.0.0, which already implements get_view_names(). Unfortunately, the most recent Impala driver for sqlAlchemy does not implement this call, only get_table_names(). Currently the only solution seems to be downgrading Superset to 2.0.1. |
Thanks @MarioDurantez for this pointer. I've raised a PR which stubs this method - cloudera/impyla#511. For now, I'm manually patching this file as part of our Docker build pipeline. |
@huw0 Could you please provide the solution. I have tried to add this fuction to superset/db_engine_specs/impala.py but it didn't work. Please suggest. |
Is this still an issue people are facing in Superset 3.x? |
Same here! |
@pyroman30 which version of Superset are you using, and which version of the Impala driver? If "same here" means you're using the old versions, as reported in the initial report, then you need to update both pieces of software. |
@rusackas I'm using helm chart version 2.0.1 and impyla version 0.18.0. I can't figure out how to view the impala driver version? |
@pyroman30 |
@dkrat7 thanks for the answer, unfortunately it didn't work |
2024-04-04 06:57:22,363:DEBUG:impala.hiveserver2:Connecting to HiveServer2 some_host:21050 with GSSAPI authentication mechanism |
Getting table list is not working while creating dataset and in SQL Lab, got following error:
There was an error loading the tables
How to reproduce the bug
Go to 'Datasets'
Click on '+ Dataset'
Choose impala datasource
Choose schema
See error:
There was an error loading the tables
Go to 'SQL' -> 'SQL Lab'
Choose impala datasource
Choose schema
See error:
There was an error loading the tables
Expected results
List of tables are seen in at
SEE TABLE SCHEMA
fieldActual results
Nothing happens and error message appear at UI
Screenshots
Environment
2.1.0
Python 3.8.12
0.18.0
0.16.0
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Here is logs that I found, but it contains no error:
Also I tested when schema has about 40 tables and 0 tables with same result
The text was updated successfully, but these errors were encountered: