Open jvans1 opened 5 years ago
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 IN
and ORDER BY
: https://docs.datastax.com/en/archived/cql/3.3/cql/cql_using/useQueryIN.html
Note that using both IN and ORDER BY will require turning off paging with the PAGING OFF command in cqlsh.
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:
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?