Azure / Azure/azure-documentdb-java

query collection with collection id failed after re-creation

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

Descrizione

sdk version: 1.11.0
java version: 1.8
repro steps:
1. create collection with collectionId : testCollection
2. delete testCollection
3. re-create testCollection, insert some documents
4. query documents with testCollection by DocumentClient.QueryDocuments
- if query collectionLink= "dbs//colls/testCollection", query failed with resource not found exception
- if query collectionLink=collection.getSelfLink(), query succeed.

Question:
1. in readme file, query document from collection with collection link "dbs//colls/". If this is not a bug, user should not query with self-constructed collection link, pls update document to avoid confusion.
2. otherwise, pls check whether this is a bug.

anything info need feel free to ping me. thanks.

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.