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/04/28 13:48:44 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-1527594416

   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 (https://github.com/dropbox/PyHive/pull/450).
   
   A **less than ideal** workaround that might work: Use http to connect to your Hive server with `hive+http://` or `hive+https://` instead of the default thrift driver.


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