Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for command JSON.STRLEN #502

Closed
arpitbbhayani opened this issue Sep 8, 2024 · 2 comments
Closed

Add support for command JSON.STRLEN #502

arpitbbhayani opened this issue Sep 8, 2024 · 2 comments
Assignees

Comments

@arpitbbhayani
Copy link
Contributor

arpitbbhayani commented Sep 8, 2024

Add support for the JSON.STRLEN command in DiceDB similar to the JSON.STRLEN 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.

@apoorvyadav1111
Copy link
Contributor

apoorvyadav1111 commented Sep 9, 2024

Hi @arpitbbhayani, Please assign this to me. I already have issue #412 assigned to me, but PR #439 is ready to be merged.

@arpitbbhayani
Copy link
Contributor Author

@apoorvyadav1111 Assigned. Thank you for taking this up. Will merge your other PRs. Thanks for the patch.

JyotinderSingh pushed a commit that referenced this issue Sep 13, 2024
Co-authored-by: ayadav16 <ayadav7@binghamton.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants