Is it possible to batch queries?

Hi,

is it possible to send a batch of queries with one call to the broker and receive the result in one response (as array for example, where each request is one item of this array)?

Thanks

That’s currently not possible. Is there a reason other than convenience you are looking for that?

You can look into Plywood (https://github.com/implydata/plywood) for doing this. Plywood can translate one query to create a data visualization into potentially many Druid queries.

We use this idea in the Pivot UI (https://github.com/implydata/pivot).

The documentation is a bit light for Plywood right now but we’ll get there :slight_smile:

Thank you Fangjin,

Pivot is realy nice and helps alot to go deeper into druid queries.