Jaymin-adzmedia opened a new issue #9776:
URL: https://github.com/apache/druid/issues/9776


   I gone through documents they have mentioned descending property in [druid 
docs](https://druid.apache.org/docs/latest/querying/timeseriesquery.html).
   
   
   ### Description
   Here is my druid query in node js.
   `var queryRep = client.timeseries();
                           queryRep.dataSource(APP_REPORTING_DATA_SOURCE)
                               .descending(true)
                               .granularity(reqGranularity)
                               //.limit(maxRecords)
                               .aggregation('count', 'rows');`
   
   If I user .descending(true) property it will getting error as below.
   _TypeError: queryRep.dataSource(...).ascending is not a function_
   
   Can you please help me to fix issue or provide an alternative solution to 
add sorting in timeseries query.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to