- Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
I can run the following command on my CLI with no issue:
TS.MRANGE 1676504220000 1676505900000 FILTER id=(id1,id2) type=Type prop=Prop
but when I use ioredis, I get a ReplyError: ERR TSDB: failed parsing labels.
When I pass just the filters id=(id1,id2) it works, and it also works if I pass one id with the other attributes, e.g.: id=id1 type=Type prop=Prop. It doesn't seem like I can pass a combination of AND filters (type, prop) and OR (id1, id2)
A log of command.toWritable looks like:
command.toWritable(), *5 $9 TS.MRANGE $10 1676671745 $10 1676650507 $6 FILTER $129 type=Type id=(id1,id2) prop=Prop For what it's worth, I don't encounter this issue with TS.QUERYINDEX -- I can pass the conjunctive id filters and the adjunctive prop, type filters. command.ToWritable for that looks like:
command.toWritable(), *4 $13 TS.QUERYINDEX $9 prop=Prop $102 id=(id1,id2) $26 type=Type If this functionality is not currently supported, would I be able to run the query I need with .sendCommand? Thank you