forked from datastax/python-driver
-
Notifications
You must be signed in to change notification settings - Fork 42
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
cqlengine tests are failing when scylla 5.2 and up is used [Order by currently only supports the ordering of columns following their declared order in the PRIMARY KEY] #343
Labels
bug
Something isn't working
Comments
fruch
changed the title
two cqlengine tests are failing when scylla 5.2 and up is used [Order by currently only supports the ordering of columns following their declared order in the PRIMARY KEY]
cqlengine tests are failing when scylla 5.2 and up is used [Order by currently only supports the ordering of columns following their declared order in the PRIMARY KEY]
Jul 2, 2024
fruch
added a commit
to fruch/python-driver
that referenced
this issue
Jul 4, 2024
test is failing with the following: ``` cassandra.InvalidRequest: Error from server: code=2200 [Invalid query] message="Order by currently only supports the ordering of columns following their declared order in the PRIMARY KEY" ``` seems like scylla doesn't support ordering by clustering keys Ref: scylladb#343
the test model is:
the schema:
and this is the query q = TestModel.objects(test_id=0).order_by('attempt_id')
# SELECT "attempt_id", "description", "expected_result", "test_result" FROM cqlengine_test.test_model WHERE "test_id" = %(0)s ORDER BY "attempt_id" ASC LIMIT 10000 |
@nyh can you give me a hand understanding this one ? is that a scylla limitation ? is there a way around it ? is this limitation documented anywhere ? |
fruch
added a commit
to fruch/python-driver
that referenced
this issue
Jul 4, 2024
test is failing with the following: ``` cassandra.InvalidRequest: Error from server: code=2200 [Invalid query] message="Order by currently only supports the ordering of columns following their declared order in the PRIMARY KEY" ``` seems like scylla doesn't support ordering by clustering keys Ref: scylladb#343
@nyh ping |
dkropachev
pushed a commit
to dkropachev/python-driver
that referenced
this issue
Aug 9, 2024
test is failing with the following: ``` cassandra.InvalidRequest: Error from server: code=2200 [Invalid query] message="Order by currently only supports the ordering of columns following their declared order in the PRIMARY KEY" ``` seems like scylla doesn't support ordering by clustering keys Ref: scylladb#343
dkropachev
pushed a commit
to dkropachev/python-driver
that referenced
this issue
Aug 15, 2024
test is failing with the following: ``` cassandra.InvalidRequest: Error from server: code=2200 [Invalid query] message="Order by currently only supports the ordering of columns following their declared order in the PRIMARY KEY" ``` seems like scylla doesn't support ordering by clustering keys Ref: scylladb#343
dkropachev
pushed a commit
to dkropachev/python-driver
that referenced
this issue
Aug 15, 2024
test is failing with the following: ``` cassandra.InvalidRequest: Error from server: code=2200 [Invalid query] message="Order by currently only supports the ordering of columns following their declared order in the PRIMARY KEY" ``` seems like scylla doesn't support ordering by clustering keys Ref: scylladb#343
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
seems like this change shoved away those tests with the @requirescollectionindexes
and we weren't running them with scylla 5.1
but those two still fails, and need to be investigated:
The text was updated successfully, but these errors were encountered: