Discussion:
[influxdb] Spread function not working on 1.2 v
a***@gmail.com
2017-08-23 08:44:26 UTC
Permalink
Hi All,

I am facing certain problems in v1.2, which I migrated to recently. Some of my queries which were running smooth are not working properly:

1. Spread: When I execute following query
SELECT MAX("M23_CNT") FROM "pcount" WHERE time >= '2017-08-20T23:48:00Z' AND time <= '2017-08-24T00:54:00Z'
I am getting error:
Server returned error: unsupported spread iterator type: *influxql.stringInterruptIterator

2. When I execute any query with relative time,eg:
select M23_CNT from pcount where time > now() - 3h

In the result I am getting data even older than 3 hours before data.

Am I doing some basic mistake?

Manish
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/625b96b4-0611-4ac0-9b85-39181dc083cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
a***@gmail.com
2017-08-23 16:15:46 UTC
Permalink
It was my bad. The data I was adding was added as string, that's why it was creating error for spread function.

But fetching data relative to time is still an unsolved problem.
Post by a***@gmail.com
Hi All,
1. Spread: When I execute following query
SELECT MAX("M23_CNT") FROM "pcount" WHERE time >= '2017-08-20T23:48:00Z' AND time <= '2017-08-24T00:54:00Z'
Server returned error: unsupported spread iterator type: *influxql.stringInterruptIterator
select M23_CNT from pcount where time > now() - 3h
In the result I am getting data even older than 3 hours before data.
Am I doing some basic mistake?
Manish
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/42a50894-cee2-4fdb-9ba1-67af97505b5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...