-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Test: https://github.com/redis/redis/blob/7.2.5/tests/unit/type/zset.tcl#L1463-L1467
Infinispan:
127.0.0.1:11222> zadd zt -inf neginf (integer) 1 127.0.0.1:11222> ZUNIONSTORE outt 1 zt weights 0 (integer) 1 127.0.0.1:11222> zrange outt 0 -1 withscores 1) "neginf" 2) "NaN"
Redis:
127.0.0.1:6379> zadd zt -inf neginf (integer) 1 127.0.0.1:6379> ZUNIONSTORE outt 1 zt weights 0 (integer) 1 127.0.0.1:6379> zrange outt 0 -1 withscores 1) 1) "neginf" 2) (double) 0
- clones
-
JDG-7243 [RESP] ZUNIONSTORE should not create NaN in scores
- Verified