You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "vndroid (via GitHub)" <gi...@apache.org> on 2023/06/06 02:37:00 UTC

[GitHub] [superset] vndroid commented on issue #24031: Fatal Error when creating DB with hive

vndroid commented on issue #24031:
URL: https://github.com/apache/superset/issues/24031#issuecomment-1577805906

   > Finally, we solved this problem by following Usiel's solution:
   > 
   > [Usiel/PyHive@fb692d9?diff=split](https://github.com/Usiel/PyHive/commit/fb692d956758bca9d4aba980a8c418cc5788768d?diff=split)
   > 
   > by changing those two lines in the sqlalchemy_hive.py file:
   > 
   > class HiveDialect(default.DefaultDialect): name = b'hive' driver = b'thrift'
   > 
   > to this:
   > 
   > class HiveDialect(default.DefaultDialect): name = 'hive' driver = 'thrift'
   > 
   > Alternatively, you can simply use the latest version of PyHive, which already contains these changes.
   
   Amazing! Thanks a lot.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org