Add a druid cluster as a SQL database in Apache Superset

我只是一个虾纸丫 提交于 2019-12-09 13:37:38

问题


I currently connect to the druid cluster through the druid connector in Apache Superset. I heard that SQL can be used to query druid. Is it possible to point my SQL database connection to druid?


回答1:


Follow the steps below

  1. You need to use latest version of pydruid for enabling sqlalchemy support. For me pydruid 0.4.1 is working fine.

  2. On Superset, in the Databases section you need to provide the SQLAlchemy URI druid://XX.XX:8082/druid/v2/sql/using a broker ip/host.

  3. Third thing you need to do is to enable druid.sql.enable=true on broker.

I hope this will help you.



来源:https://stackoverflow.com/questions/50182494/add-a-druid-cluster-as-a-sql-database-in-apache-superset

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!