Extraction (lookup) dimension specs in Search query?


As far as I can tell, Search queries only support simple default dimensions - string names of actual dimensions. I have a use case where I’d want to use an extraction dimension spec to do a lookup.

I am still on 0.8.2 so maybe it got added in 0.9? The docs still specify a “String list of dimension” which suggests not.

If it’s not in 0.9 is it being looked at for a future version?



Extraction function support for search query was added in https://github.com/druid-io/druid/pull/1712 which was included in 0.8.2.

Specifically, you can use any Dimension Specification in the search query.

http://druid.io/docs/0.8.2/querying/dimensionspecs.html for the 0.8.2 docs, or http://druid.io/docs/latest/querying/dimensionspecs.html for the latest

Gaaah. I meant Select queries not Search queries!

So, are they supported in Select queries?

in 0.9.1 yes, but that’s not out yet.