Azure / Azure/azure-documentdb-java

Pagination is broken when using ORDER BY

Aperta
#125 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
51
Fork
52
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.