Run query against Druid Database

88 views
Skip to first unread message

Tariq Hasan

unread,
Jun 7, 2018, 1:25:48 PM6/7/18
to airbnb_superset
Hi Superset team,

I have some experience in metabase and now comparing Superset with it. I am trying to run Druid union query (against 2 datasource/tables) in superset and could not find where to run customize json query. Is there any place I can run native json query?
For Druid, the only thing I can do is select one data source in Druid and can do dice/slice data. Also, Is there any option in Superset where I can choose multiple datasource/tables in interactive mode?

Thanks

Maxime Beauchemin

unread,
Jun 7, 2018, 7:36:52 PM6/7/18
to skt...@gmail.com, airbnb_superset
Hi Tariq,

Now that Druid supports SQL you can use SQL Lab to query/visualize it. I'm not sure whether Druid SQL supports UNION ALL yet. There's also "Union Data Sources" and "Query Data Sources" that may help with what you're trying to do.

Superset does not offer free form Druid querying using JSON and it's unlikely that it will in the future. If it was a feature I doubt it'd be very popular... The Druid project is moving towards promoting SQL as the main way to query Druid, and so is Superset (we're in touch with the core Druid team and I'm a Druid committer / PyDruid maintainer). It's likely that we'll sunset the Druid connector over time in favor of using the SQLAlchemy connector.

Max

--
You received this message because you are subscribed to the Google Groups "airbnb_superset" group.
To unsubscribe from this group and stop receiving emails from it, send an email to airbnb_supers...@googlegroups.com.
To post to this group, send email to airbnb_...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/airbnb_superset/e6d2c0b2-a474-46c6-8ff9-578e693dd013%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tariq Hasan

unread,
Aug 30, 2018, 12:33:14 PM8/30/18
to maximebe...@gmail.com, airbnb_...@googlegroups.com
Great, thanks for the info! 
Reply all
Reply to author
Forward
0 new messages