You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Direct Package Upgrade: Fixes Cosmos.Direct Package to 3.39.1 (#5241)
# Pull Request Template
## Description
This PR also bumps up the `Microsoft.Azure.Cosmos.Direct` version from
`3.38.0` to `3.39.1`. The new direct release contains the below changes:
- Session Consistency: Adds SessionTokenMismatchRetryPolicy optimization
through customer supplied region switch hints.
- Rntbd Health Check Improvements Part 3: Enables Aggressive Timeout
Detection By Default.
- Introduce East US 3 in the SDK.
- Adding a utility to map substatus codes string values to the
statuscode. This is being done to avoid substatus mismatch issue which
happens in case of duplicate substatus values as ToString() tends to
pick up the first value from the list.
This change is needed in 3.39.1 version as the order of statusCode
changed in the root file.
<img width="497" alt="image"
src="https://github.com/user-attachments/assets/a2f6e022-6a78-4c85-b5ec-d331c34296ef"
/>
## Type of change
Please delete options that are not relevant.
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
## Closing issues
To automatically close an issue: closes #IssueNumber
---------
Co-authored-by: REDMOND\adityasa <adityasa@microsoft.com>
Co-authored-by: Arooshi Avasthy (from Dev Box) <aavasthy@microsoft.com>
Copy file name to clipboardExpand all lines: Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/LinqTranslationBaselineTests.TestVectorDistanceFunction.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -599,7 +599,7 @@ FROM root]]></SqlQuery>
599
599
<SqlQuery><![CDATA[
600
600
SELECT VALUE VectorDistance(root["VectorFloatField"], [2, 3, 4], true, {"searchListSizeMultiplier": -100})
601
601
FROM root]]></SqlQuery>
602
-
<ErrorMessage><![CDATA[Status Code: BadRequest,{"errors":[{"severity":"Error","location":{"start":71,"end":105},"code":"SC2213","message":"The SearchListSizeMultiplier value -100 specified in the VectorDistance function is outside the supported range. The value must be between 1 and 100."}]},0x800A0B00]]></ErrorMessage>
602
+
<ErrorMessage><![CDATA[Status Code: BadRequest,{"errors":[{"severity":"Error","location":{"start":71,"end":105},"code":"SC2213","message":"The 'searchListSizeMultiplier' value -100 specified in the VectorDistance function is outside the supported range. The value must be between 1 and 100."}]},0x800A0B00]]></ErrorMessage>
Copy file name to clipboardExpand all lines: Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/BaselineTest/TestBaseline/QueryPlanBaselineTests.Distinct.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@
125
125
<Range>[[],"Infinity")</Range>
126
126
</Range>
127
127
</QueryRanges>
128
-
<RewrittenQuery><![CDATA[SELECT DISTINCT c._rid, [{"item": c.blah}] AS orderByItems, c.blah AS payload
128
+
<RewrittenQuery><![CDATA[SELECT c._rid, [{"item": c.blah}] AS orderByItems, c.blah AS payload
129
129
FROM c
130
130
WHERE (({documentdb-formattableorderbyquery-filter}) AND IS_DEFINED(c.blah))
0 commit comments