dice icon indicating copy to clipboard operation
dice copied to clipboard

QWATCH bug: inconsistent types on retrieval

Open YahyaHaq opened this issue 1 year ago • 2 comments

We have a bug in our QWATCH command. We can store a value as an integer but on retrieval it treats it as a string. Running this query in qwatch_test.go var qWatchQuery = "SELECT $key, $value FROM 'match:100:*' WHERE $value > 1 ORDER BY $value DESC LIMIT 3" will give us an error "2024/08/03 12:43:48 ERRO incompatible types in comparison: string and int".

YahyaHaq avatar Aug 18 '24 07:08 YahyaHaq

@JyotinderSingh Can you assign this to me

YahyaHaq avatar Aug 18 '24 07:08 YahyaHaq

@JyotinderSingh Can you assign this to me

Assigned

JyotinderSingh avatar Aug 18 '24 07:08 JyotinderSingh

This was already fixed in #363 as a part of another bug fix. But thanks for reporting this.

JyotinderSingh avatar Aug 20 '24 20:08 JyotinderSingh