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

Inconsistent SINTER: support for single-key parameter #903

Open
arushi-08 opened this issue Oct 2, 2024 · 0 comments · May be fixed by #906
Open

Inconsistent SINTER: support for single-key parameter #903

arushi-08 opened this issue Oct 2, 2024 · 0 comments · May be fixed by #906
Assignees

Comments

@arushi-08
Copy link

arushi-08 commented Oct 2, 2024

Steps to reproduce

127.0.0.1:7379> SADD set1 "a" "b" "c"
127.0.0.1:7379> SINTER set1

Expected output

The expected output when the above command is run on Redis. Essentially returns all members of the set associated with given key (same as SMEMBERS cmd)

1) "a"
2) "b"
3) "c"

Observed output

The observed output when the above command is run on DiceDB.

(error) ERROR wrong number of arguments for 'sinter' command

Expectations for resolution

This issue will be considered resolved when the following things are done

  1. changes in the dice code to meet the expected behavior
  2. addition of relevant test case to ensure we catch the regression

You can find the tests under the integration_tests directory of the dice repository and the steps to run are in the README file. Refer to the following links to set up DiceDB and Redis 7.2.5 locally

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 a pull request may close this issue.

1 participant