You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using azure-documentdb java sdk(1.16.2) for accessing cosmos db resource.
When using java sdk to access cosmos db - Pagination is working fine for all the queries except when query contains ORDER BY.
method used in sdk to get response continuation token: feedResponse.getResponseContinuation()
OrderByQueryExecutionComponent.getResponseHeaders() function always return null incase of query contains ORDER BY. The headers are not getting passed to the feedResponse object.
NOTE: This is after enable crosspartion query flag as true in feed options
Activity
please1984 commentedon Nov 22, 2019
I am in the same situation.
But when I run sql with partition key, I get normal pagination data.
How to read pagination data in sql without partition key?