Azure / Azure/azure-documentdb-java

query collection with collection id failed after re-creation

Abierto
#80 1 comentario 0 reacciones 0 asignados Ver en GitHub
investigating
Lenguaje dominante
Java
Estrellas
51
Forks
52
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.