influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

Querying continuous query with time condition

Open ebereketoglu opened this issue 11 years ago • 2 comments

I'm trying to querying some data from a continuous query with time condition. When I run the following query it gives "Field time doesn't exist in series test". Is this the expected behaviour?

select value from test where time>"2015-03-26 18:03:247.010"

ebereketoglu avatar Mar 30 '15 18:03 ebereketoglu

The continuous query is select mean(value) as value,time from "M00010000167A0C58.channelA" group by time(1h) into test

ebereketoglu avatar Mar 30 '15 18:03 ebereketoglu

You must wrap the time string in single-quotes, as explained here:

http://influxdb.com/docs/v0.9/query_language/querying_data.html#date-time-strings

Philip

On Mon, Mar 30, 2015 at 11:29 AM, Erdinc Bereketoglu < [email protected]> wrote:

I'm trying to querying some data from a continuous query with time condition. When I run the following query it gives "Field time doesn't exist in series test". Is this the expected behaviour?

select value from test where time>"2015-03-26 18:03:247.010"

— Reply to this email directly or view it on GitHub https://github.com/influxdb/influxdb/issues/2119.

otoolep avatar Mar 30 '15 23:03 otoolep