Azure / Azure/azure-documentdb-java

Continuation and requestCharge missing with options.setEnableCrossPartitionQuery(true);

オープン
#102 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
51
フォーク
52
PR マージ指標
30日以内にマージされた PR はありません

説明

I'm trying to use continuations against a partitioned cosomosdb.

I've noticed that queries that hit multiple partitions will fail with
> Cross partition query is required but disabled

In these cases its possible to use options.setEnableCrossPartitionQuery(true) and the query returns.

However for cross partition queries I see that feedResponse.getResponseContinuation() returns null and feedResponse.getRequestCharge() is 0.0.

It's then not possible to page to as there is no continuation token. Also I'd expect the requestCharge to be the sum of all the paritition charges.

Is this a bug or a limitation?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。