The end instant must be greater or equal to the start. Query issue

Hi all,

Currently, We are using 0.7.0 release. And when I do a query like this:

{“dataSource”:“rb_flow”,“granularity”:{“type”:“period”,“period”:“p1m”,“origin”:“2015-01-01T00:00:00+01:00”},“intervals”:[“2015-01-01T00:00:00+01:00/2015-04-14T11:32:02+02:00”],“filter”:null,“queryType”:“timeseries”,“context”:{“skipEmptyBuckets”:“true”},“aggregations”:[{“type”:“longSum”,“name”:“bytes”,“fieldName”:“sum_bytes”}],“postAggregations”:[{“type”:“arithmetic”,“fn”:"/",“name”:“bytes_per_sec”,“fields”:[{“type”:“fieldAccess”,“fieldName”:“bytes”},{“type”:“constant”,“value”:2592000}]},{“type”:“arithmetic”,“fn”:"*",“name”:“bps”,“fields”:[{“type”:“fieldAccess”,“fieldName”:“bytes_per_sec”},{“type”:“constant”,“value”:8}]}]}

``

With this specific origin: origin":“2015-01-01T00:00:00+01:00”, the query return this message: “The end instant must be greater or equal to the start”.

Now if I change the origin to this value: “origin”:“2015-01-01T00:00:00.000Z”, the query works fine … I don’t know why the first query fail, apparently I think the query is correct. Can anyone help me?

Regards,

Andres

Does your query work if you also specify a “timeZone” that matches your “origin”? Like “timeZone”: “+01:00”.

Yeah, it works! Thanks Gian.

Regards,

Andres