Azure / Azure/azure-documentdb-java
query collection with collection id failed after re-creation
- 主要語言
- Java
- 星號
- 51
- 分支
- 52
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
研究方向
先閱讀 README 中關於查詢文件的指南以及進入點 DocumentClient.QueryDocuments。使用根據資料庫 ID 和集合 ID 建立的集合連結重現該流程,然後將其與 collection.getSelfLink() 進行比較。當重建的集合連結可以正常運作,或 README 清楚記錄了所需的連結形式時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- azure, java
- 領域
- backend, databases
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100