-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Cannot page queries with both ORDER BY and a IN restriction #1752
Comments
This sounds more like an incompatibility of CosmosDB features with what Cassandra supports. |
The Datastax documentation says that this is not a valid way to query Cassandra with both
so this is a CASSANDRA thing, and not just a CosmosDB restriction |
For others... I attempted to try and see if I could fix this. I discovered paging is already disabled for this query: jaeger/plugin/storage/cassandra/spanstore/reader.go Lines 390 to 402 in 6724390
I've tried a few other things like disabling paging on the session itself and changing the query but with no luck. It looks as though CosmosDB is just ignoring any requests to disable paging and always pages. So like @yurishkuro said, this is a cosmos issue. We'll try raising it with them. |
Requirement - what kind of business use case are you trying to solve?
Connecting Jaeger to CosmosDB backend with the Cassandra API
Problem - what in Jaeger blocks you from solving the requirement?
I built binaries from the latest master and have a jaeger collector successfully writing to the cosmosdb cassandra API backend. When I run jaeger-query for a specific operation it works:
but when I have "all" operations selected it 500s:
It looks like a cassandra error. I'm not sure if this is some incompatibility of Azure CosmosDB cassandra API wrapper or if I've misconfigured something. I generated the schema with:
Stackoverflow suggests disabling paging, which I don't think we want here. The actual generation of the query is internal to jaeger and I don't see flags I could modify it with so I assume my setup is wrong somehow. Any ideas what I did wrong?
The text was updated successfully, but these errors were encountered: