dice icon indicating copy to clipboard operation
dice copied to clipboard

Add support for command `ZCOUNT`

Open JyotinderSingh opened this issue 1 year ago • 5 comments

Add support for the ZCOUNT command in DiceDB similar to the ZCOUNT 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 used TCL 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.

JyotinderSingh avatar Oct 17 '24 14:10 JyotinderSingh

@JyotinderSingh can I pick this issue

swarajrb7 avatar Oct 17 '24 14:10 swarajrb7

@JyotinderSingh can I pick this issue

Since you are assigned another issue already, let's allow others to pick this one up.

JyotinderSingh avatar Oct 17 '24 14:10 JyotinderSingh

please assign this to me

tarun-29 avatar Oct 17 '24 14:10 tarun-29

please assign this to me

Assigned.

JyotinderSingh avatar Oct 17 '24 14:10 JyotinderSingh

Pull request which closes this issue https://github.com/DiceDB/dice/pull/1171

tarun-29 avatar Oct 21 '24 03:10 tarun-29

Linking #1158: depends on this for integration tests

apoorvyadav1111 avatar Oct 24 '24 16:10 apoorvyadav1111