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
You need to use latest version of
pydruid
for enabling sqlalchemy support. For me pydruid 0.4.1 is working fine.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.Third thing you need to do is to enable
druid.sql.enable=true
on broker.
I hope this will help you.