hive/impala can't show table schema
See original GitHub issueI use url impala://host:port/ like this to connect to hive database , the connect is ok , and I can execute sql in the sql lab . But ‘See table schema’ don’t seem right , it shows the databaseName not the tabels.See the screenshot for detail.
Screenshots
See table schema should show tables but actually the databaseName.And the And when clicked at the item ,it comes out the error
the console:
impala.hiveserver2:GetOperationStatus: resp=TGetOperationStatusResp(status=TStatus(statusCode=0, infoMessages=None, sqlState=None, errorCode=None, errorMessage=None), operationState=5, sqlState=None, errorCode=0, errorMessage=“org.apache.spark.sql.AnalysisException: Table or view not found: scannetwork
.scannetwork
; line 1 pos 14;\n’GlobalLimit 0\n± 'LocalLimit 0\n ± 'Project [*]\n ± 'UnresolvedRelation scannetwork
.scannetwork
\n”)
when I excute ’ show tables’, it shows the right result as follows
##Environment:
Superset 0.28.1 node.js v10.15.0 npm 6.4.1 impyla 0.15.0+2.ge4f2146 SQLAlchemy 1.2.7
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
well, it’s a matter about sparksql . it’s finally solved by edit site-packages/impala/sqlalchemy.py from
to
Issue-Label Bot is automatically applying the label
#bug
to this issue, with a confidence of 0.77. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.