Hello,

I have implemented druid using Node JS. Below is my code of node JS to get
timeserires data.

var queryRep = client.timeseries();
queryRep.dataSource(APP_REPORTING_DATA_SOURCE)
.granularity(reqGranularity)
.descending(true) // sorting
.aggregation('count', 'rows');

Error:

TypeError: queryRep.dataSource(...).granularity(...).descending is not a
function


Can you please help me to fix descending(true) issue.

Reply via email to