jobbywl commented on issue #30208:
URL: https://github.com/apache/superset/issues/30208#issuecomment-3650786066

   Hi, guys!
   
   I've been able to fix this issue locally. It is an combination of the issue 
that @calvinjiang mentioned and I think some old code that changed the 
catalog/database name to the schema name. This causes the query to fail.
   
   I've just submitted an PR as the fix is trivial. You do need to create your 
own PyHive package though. This is not very hard to do but is an extra step. 
PyHive is currently maintained by Kyuubi, but they have not setup a pipeline to 
update the PyPi package unfortunately.
   
   If you don't want to wait for this PR you can also easily fix it by putting 
this line in your bootstrap script:
   
   `sed -i.bak -e '276,277d' /app/superset/db_engine_specs/hive.py`
   
   This wil delete the 2 lines that are causing the issue. You still do need to 
manually install the patched PyHive version though...
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to