You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result is an array having 2 values. This is different from running the same TS.RANGE command directly via redis which will produce only a single data value.
Below screenshot shows values in intelij
result in redisinsight
Sample repo having : JRedisTimeSeriesUserDepositTest class replicating issue above .
I am using redis version 6.0.1 running via docker (docker run -p 6379:6379 -it --rm redislabs/redistimeseries)
I am trying to get an daily sum aggregate of values on a given key via:
rts.range(key, LocalDateTime.now().minusDays(1).toInstant(ZoneOffset.ofHours(2)).toEpochMilli(),LocalDateTime.now().toInstant(ZoneOffset.ofHours(2)).toEpochMilli(), Aggregation.SUM, 863400000);
The result is an array having 2 values. This is different from running the same TS.RANGE command directly via redis which will produce only a single data value.
Below screenshot shows values in intelij
result in redisinsight
Sample repo having : JRedisTimeSeriesUserDepositTest class replicating issue above .
https://github.com/borgrodrick/JRedisTimeSeries.git
The text was updated successfully, but these errors were encountered: