DiceDB / dice

DiceDB is a redis-compliant, reactive, scalable, highly-available, unified cache optimized for modern hardware.
https://dicedb.io/
Other
6.79k stars 1.07k forks source link

Inconsistent `TYPE`: Type returns encoding as complex type instead of simple #862

Closed apoorvyadav1111 closed 1 month ago

apoorvyadav1111 commented 1 month ago

Steps to reproduce

image

Expected output

image

The expected output when the above set of commands (maybe when run on Redis)

Expectations for resolution

This issue will be considered resolved when the following things are done

  1. changes in the dice code to meet the expected behavior
  2. addition of relevant test case to ensure we catch the regression

You can find the tests under the tests directory of the dice repository and the steps to run are in the README file. Refer to the following links to set up DiceDB and Redis 7.2.5 locally

Please assign this to me. Thanks

rishavvajpayee commented 1 month ago

hey anyone / you working on this @apoorvyadav1111 ?

apoorvyadav1111 commented 1 month ago

Hi @rishavvajpayee , Yes, this is 2 line change, I am raising a PR just as we speak. Thanks