Getting dimension using filters

Hello , we needs list of dimensions , we get through broker " http://XX.XX.XXX.XX:8082/druid/v2/datasources/wl-source/dimensions " but we want to send filter object with it.

For example: getting all dimesions whose dim1 is “1” .

Thanks in advance for the help…

Thanks !

Abhay Garg

There is no way to prune the list of dimensions using a filter via that endpoint.

You need to send a time series query and extract what you need out of it.

Hi Slim Bouguerra ,

Thanks for your response. But I didn’t see in timeseries query to get all dimesion . Yes its true that we can apply the filters using timeseries query, but we want all the dimensions .

For Ex getting all dimension whose sid is “1”.

And in timeseries query we need to pass the agrregation function it affect the performance.

Please correct me if I am wrong.

Abhay, are you trying to get dimension values or dimension names? If it is the former, try