RedisTimeSeries icon indicating copy to clipboard operation
RedisTimeSeries copied to clipboard

Document TS.ADD error modes

Open miohtama opened this issue 3 years ago • 1 comments

Currently TS.ADD does not cover what could go wrong.

E.g. when trying to reuse the same timestamp you get

TSDB: Error at upsert, update is not supported in BLOCK mode

The error itself is very technical, could probably converted to some more user friendly error like "timestamp already exist".

miohtama avatar Jan 20 '21 18:01 miohtama

Another error is invalid values e.g. RedisTimeSeries does not take NaN as a value.

miohtama avatar Jan 21 '21 14:01 miohtama