WHERE c.id IN ("opendes:at:slb-osdu-dev-sis-internal-hqtechlog--A52C-4031-99D1---124CBB92-8C80-4668-BB48-1329C5FE241-0","opendes:at:slb-osdu-dev-sis-internal-hqtechlog--A52C-4031-99D1---124CBB92-8C80-4668-BB48-1329C5FE241-1")
Here id is the partition key. The partition key is hashed based on the first 100 bytes. We haven't migrated to 2k bytes partition hashing yet.
To Reproduce
The above Where clause query with IN keyword consistently reproduces the issue.
Expected behavior
The query items API should successfully fetch the records.
Actual behavior
Exception thrown from RoutingMapProviderHelper -> throw new IllegalArgumentException("sortedRanges");
Environment summary
SDK Version: com.azure:azure-cosmos:4.7.1
Java JDK version: 1.8
OS Version (e.g. Windows, Linux, MacOSX) N/A
Describe the bug
We are using queryItems method to run a SQL query and query multiple items from Cosmos DB
The SQL Query that we have had is as follows
Here
id
is the partition key. The partition key is hashed based on the first 100 bytes. We haven't migrated to 2k bytes partition hashing yet.To Reproduce
The above Where clause query with IN keyword consistently reproduces the issue.
Expected behavior The query items API should successfully fetch the records.
Actual behavior Exception thrown from
RoutingMapProviderHelper
->throw new IllegalArgumentException("sortedRanges");
Environment summary SDK Version: com.azure:azure-cosmos:4.7.1 Java JDK version: 1.8 OS Version (e.g. Windows, Linux, MacOSX) N/A
Additional context Similar issue was reported for C# SDK - https://github.com/Azure/azure-cosmos-dotnet-v3/issues/833