Open arpitbbhayani opened 1 week ago
@arpitbbhayani. Could you please assign this to me? I would like to work on it.
@c-harish assigned, thanks for picking this up.
Hi @lucifercr07 @c-harish Is this still being worked upon ? Otherwise I'll be happy to pick this up. Thanks
Also, this command has been deprecated here, do we still want to support it ? https://redis.io/docs/latest/commands/json.nummultby/
Hi @lucifercr07 @c-harish Is this still being worked upon ? Otherwise I'll be happy to pick this up. Thanks
Hi @jainbhavya53. I am done with the eval func and yet to complete the unit tests. I will raise PR before tomorrow.
Add support for the
JSON.NUMMULTBY
command in DiceDB similar to theJSON.NUMMULTBY
command in Redis. Please refer to the following commit in Redis to understand the implementation specifics - source.Write unit and integration tests for the command referring to the tests written in the Redis codebase 7.2.5. For integration tests, you can refer to the
tests
folder. Note: they have usedTCL
for the test suite, and we need to port that to our way of writing integration tests using the relevant helper methods. Please refer to our tests directory.For the command, benchmark the code and measure the time taken and memory allocs using
benchmem
and try to keep them to the bare minimum.