question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Resuming a multi order by query from a continuation token

See original GitHub issue

Pagination of a query with a multi order from a continuation token

In code is written that an implementation in .NET Sdk could work fine if ported into JAVA SDK.

How can I do my query/quiries to have the same result before having the new Feature?

Unfortunally, the old client 3.1.0 didn’t rise same error, so we used that approach (Probabily with wrong results)

com.azure.data.cosmos.internal.query.OrderByDocumentQueryExecutionContext<T> Code that rises the exception:

      // This code path needs to be implemented, but it's error prone and needs
            // testing.
            // You can port the implementation from the .net SDK and it should work if
            // ported right.
            throw new NotImplementedException(
                    "Resuming a multi order by query from a continuation token is not supported yet.");

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:15
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
kushagraThaparcommented, Apr 14, 2020

@apescione @baldassarreC - Thanks for reporting this issue. @mbhaskar can you please help us figure out if this feature is still in our backlog ?

4reactions
baldassarreCcommented, Apr 10, 2020

I catch a “NotImplementedException” with azure-cosmos v3.7.0. Maybe it’s the same issue. Is there a new library version to solve?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pagination in Azure Cosmos DB | Microsoft Learn
In this article. Understanding query executions; Handling multiple pages of results; Continuation tokens; Next steps. APPLIES TO: NoSQL.
Read more >
Resuming a multi order by query from a continuation token
Pagination of a query with a multi order from a continuation token. In code is written that an implementation in .NET Sdk could...
Read more >
How does Cosmos DB Continuation Token work?
The continuation token is used to recreate the state of the index and track progress of the execution. "Next set of results" means,...
Read more >
Web API Pagination with the 'Timestamp_ID' Continuation Token
2. When you return the set to the client, the token, should be token = lastResult.Token + 1. 3. Hence you do, Select...
Read more >
Author Stored Procedures using the Continuation Model
If the stored procedure is unable to delete all documents, it will return a continuation token. Your client-side code is expected to repeatedly...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found