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

Range defined in the query should be open from one side. #181

Open
rtatishvili opened this issue Jul 8, 2022 · 0 comments
Open

Range defined in the query should be open from one side. #181

rtatishvili opened this issue Jul 8, 2022 · 0 comments

Comments

@rtatishvili
Copy link

Shouldn't the query contain the range open from only one side, in other words, if >= is the lower bound, then upper bound should be strict inequality:< ?

In the vastness of the token range this is an edge case, but will probably catch someday someone.

defaultQueryTemplate = "SELECT token(key) FROM keyspace1.standard1 WHERE token(key) >= %s AND token(key) <= %s;"

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

1 participant