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

Java: Add command Zrangestore. (Sorted Set Group) (#202) #1276

Merged
merged 7 commits into from
Apr 16, 2024

Conversation

SanHalacogluImproving
Copy link
Contributor

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@SanHalacogluImproving SanHalacogluImproving requested a review from a team as a code owner April 12, 2024 18:47
@SanHalacogluImproving SanHalacogluImproving force-pushed the java/integ_SanH_Zrangestore branch from b6284a6 to 3c3391c Compare April 12, 2024 19:11
@Yury-Fridlyand Yury-Fridlyand added the java issues and fixes related to the java client label Apr 12, 2024
@Yury-Fridlyand
Copy link
Collaborator

Please rebase on main and update IT in SharedCommandTests (see #1275)

@SanHalacogluImproving SanHalacogluImproving force-pushed the java/integ_SanH_Zrangestore branch from d1eb85b to f7f0759 Compare April 15, 2024 22:53
Copy link
Collaborator

@Yury-Fridlyand Yury-Fridlyand left a comment

Choose a reason for hiding this comment

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

Please, resolve conflicts

@Test
public void zrangestore_by_lex_returns_success() {
// setup
String source = "testSourceKey";
Copy link
Collaborator

Choose a reason for hiding this comment

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

With a fresh look I see it is an overkill for testing one command implemented by 2 functions.
Consider to create a set of UT for rangeoptions and reduce commands' UT. (in another PR)
The same applicable for zaddoptions and all others.

@SanHalacogluImproving SanHalacogluImproving force-pushed the java/integ_SanH_Zrangestore branch from 6d10f03 to c7331f5 Compare April 16, 2024 18:51
@acarbonetto acarbonetto merged commit 7abb59a into valkey-io:main Apr 16, 2024
45 checks passed
@acarbonetto acarbonetto deleted the java/integ_SanH_Zrangestore branch April 16, 2024 19:38
cyip10 pushed a commit to Bit-Quill/valkey-glide that referenced this pull request Jun 24, 2024
…#1276)

* Java: Add command `Zrangestore`. (Sorted Set Group) (#202)

* Rebase + Spotless.

* Java: Add `Zinterstore` command.

* Rebase + Spotless.

* Minor IT test update.

* Minor documentation update.

* Minor IT comment update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java issues and fixes related to the java client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants