Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-16241

[RESP] 'HRANDFIELD key count withvalues' should return map

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 15.1.0.Dev01, 15.0.6.Final
    • 15.1.0.Dev01
    • RESP
    • None

      Infinispan is returning array instead of map

      Infinispan:

      127.0.0.1:11222> hello 3
      ...
      127.0.0.1:11222> HSET myhash a 1 b 2 sez1m 3
      (integer) 3
      127.0.0.1:11222> HRANDFIELD myhash 3 withvalues
      1) "a"
      2) "1"
      3) "b"
      4) "2"
      5) "sez1m"
      6) "3"
      

      Redis:

      127.0.0.1:6379> hello 3
      ...
      127.0.0.1:6379> HSET myhash a 1 b 2 c 3
      (integer) 3
      127.0.0.1:6379> HRANDFIELD myhash 3 withvalues
      1) 1) "c"
         2) "3"
      2) 1) "b"
         2) "2"
      3) 1) "a"
         2) "1"
      

            rh-ee-jbolina Jose Bolina
            rh-ee-jbolina Jose Bolina
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: