Influx 2.0 query returned with error

I’m making a simple query:

from(bucket: "Bucket")
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r._measurement == "gps")
|> group(columns: ["device"], mode:"by")

which returns some result but also an error

expected integer cursor type, got *reads.floatMultiShardArrayCursor

If I would remove last line with group function there would be no error.

Does anybody know what is the reason

Hello @Mika280,
Can you please share your input data, the actual output, and the result you expect? Thanks!

I cannot reproduce that error anymore. Now it is returning all tables without any error

1 Like