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

#639: Feature: BITFIELD command with all subcommands #723

Merged
merged 13 commits into from
Oct 4, 2024

Conversation

apoorvyadav1111
Copy link
Contributor

@apoorvyadav1111 apoorvyadav1111 commented Sep 25, 2024

Fixes: #639

Implemented BITFIELD key [SUBCOMMAND]. Have handled predominantly most test cases present in the redis tcl tests. implemented unit test cases.

Additionally, added *.rdb in .gitignore to avoid pushing rdb files to git.

Design:
Added utility functions in ByteArray struct to handle get set and incrby commands.

All test cases pass. Once merged #640 can be unblocked.

Thanks
Apoorv

@apoorvyadav1111 apoorvyadav1111 marked this pull request as draft September 25, 2024 23:37
@apoorvyadav1111 apoorvyadav1111 changed the title added bitfield code w/o tests Feature: BITFIELD (w/o unittests) Sep 26, 2024
@apoorvyadav1111 apoorvyadav1111 marked this pull request as ready for review September 26, 2024 21:00
@apoorvyadav1111 apoorvyadav1111 changed the title Feature: BITFIELD (w/o unittests) Feature: BITFIELD command with all subcommands Sep 26, 2024
internal/eval/commands.go Outdated Show resolved Hide resolved
@apoorvyadav1111
Copy link
Contributor Author

Hi team, @JyotinderSingh , @lucifercr07 , @AshwinKul28 , PR is rebased with the master, Could you please review at your convenience?
Thanks,
Apoorv

Copy link

netlify bot commented Sep 28, 2024

Deploy Preview for dicedb-docs2 canceled.

Name Link
🔨 Latest commit 681b991
🔍 Latest deploy log https://app.netlify.com/sites/dicedb-docs2/deploys/66f88769f3372d00082b9b07

@lucifercr07
Copy link
Contributor

@apoorvyadav1111 please fix the build once.

@apoorvyadav1111
Copy link
Contributor Author

@apoorvyadav1111 please fix the build once.

Hi @lucifercr07, thanks for reruning the pipeline. It passed this time. I am trying to recreate the issue in the local meanwhile.
Thanks

Copy link
Collaborator

@JyotinderSingh JyotinderSingh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contributions @apoorvyadav1111! The changes look good and well tested!

@JyotinderSingh JyotinderSingh changed the title Feature: BITFIELD command with all subcommands #639: Feature: BITFIELD command with all subcommands Oct 4, 2024
@JyotinderSingh JyotinderSingh merged commit 1635582 into DiceDB:master Oct 4, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

Add support for command BITFIELD
5 participants