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

[GitHub] [superset] Usiel commented on issue #22316: Connect to Apache Hive endpoint in OCI BDS

Usiel commented on issue #22316:
URL: https://github.com/apache/superset/issues/22316#issuecomment-1575913646

   > > The issue is related to this [newly added line](https://github.com/apache/superset/commit/e98943e5805fd23c4b3018bee342873f19ee6546#diff-462c756528595a2be4a0a3c3063077f984384c7858ecdb5bd3e9603163c3678bR251) and the fact that [PyHive returns bytes](https://github.com/dropbox/PyHive/blob/master/pyhive/sqlalchemy_hive.py#L232) instead of a string for the dialect's driver field, which then in turn messes with the JSON serialization. I figure we can handle this oddness on our side if needed, but I opened a PR in the meantime ([dropbox/PyHive#450](https://github.com/dropbox/PyHive/pull/450)).
   > > A **less than ideal** workaround that might work: Use http to connect to your Hive server with or instead of the default thrift driver.`` hive+http://``hive+https:// ``
   > 
   > it doesn't work for me. I see error:
   > 
   > ```
   > An error occurred while creating databases: (builtins.NoneType) None
   > [SQL: Authentication is not valid use one of:BASIC, NOSASL, KERBEROS, NONE]
   > (Background on this error at: https://sqlalche.me/e/14/dbapi)
   > ```
   
   Hi @welljs, seems unrelated to this issue to me. Probably a problem with the used SQLAlchemy URI (`auth` param?).


-- 
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