You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@druid.apache.org by Jaymin Limbachia <ja...@adzmedia.com> on 2020/04/30 07:06:11 UTC

descending(true) is not working in timeseries query

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.