dice icon indicating copy to clipboard operation
dice copied to clipboard

Add support for `HGET` Command

Open JyotinderSingh opened this issue 1 year ago • 5 comments

We need to implement the HGET command similar to the HGET command in Redis. This command returns the value associated with field in the hash stored at key. Please refer to the following commit in Redis to understand the implementation specifics - source.

  1. Write unit and integration tests for the command referring to the tests written in the Redis codebase 7.2.5.
  2. 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.
  3. 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 Aug 06 '24 12:08 JyotinderSingh

@JyotinderSingh , please assign it to me.

codeimmortal avatar Aug 06 '24 14:08 codeimmortal

@JyotinderSingh , please assign it to me.

Would recommend picking up HSET before this, please comment on that issue and I'll assign it to you.

JyotinderSingh avatar Aug 06 '24 14:08 JyotinderSingh

@JyotinderSingh Please assign this to me, will wait for HSET to complete. Will pick this after that.

sanuj96 avatar Aug 07 '24 14:08 sanuj96

@JyotinderSingh Please assign this to me, will wait for HSET to complete. Will pick this after that.

Assigned

JyotinderSingh avatar Aug 07 '24 14:08 JyotinderSingh

@JyotinderSingh I see #373 has added functionality for this issue too.

sanuj96 avatar Aug 24 '24 18:08 sanuj96

@JyotinderSingh please assign this to me

ashwaniYDV avatar Sep 05 '24 18:09 ashwaniYDV

@JyotinderSingh please assign this to me

Done

JyotinderSingh avatar Sep 05 '24 18:09 JyotinderSingh