node-druid-query icon indicating copy to clipboard operation
node-druid-query copied to clipboard

client.timeseries() is not working

Open Jaymin-adzmedia opened this issue 6 years ago • 0 comments

Hello

I was using client.topN() for get top records from druid but now my requirements has been changed so i have to user client.timeseries() but it is not working on nodejs.

error: 2|DSP-api | TypeError: query.dataSource(...).dimension is not a function 2|DSP-api | at dimensionData (/home/ec2-user/reports/dsp_reports/controllers/ReportController.js:228:18)

If i try raw query directly in postman it is working. what is wrong with it. Please help me out.

Thanks.

Jaymin-adzmedia avatar Oct 24 '19 08:10 Jaymin-adzmedia