Azure / Azure/azure-documentdb-java

query collection with collection id failed after re-creation

Open
#80 1 comment 0 reactions 0 assignees View on GitHub
investigating
Dominant language
Java
Stars
51
Forks
52
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.