-
Notifications
You must be signed in to change notification settings - Fork 311
Enable vector tests and validate ref assembly for vector APIs #3559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enables vector tests against Azure SQLDb instances and adds validation for vector API reference assemblies. The changes focus on making vector functionality testable in Azure environments and ensuring API completeness.
- Enables vector support for Azure SQL Database instances by updating the
IsVectorSupported
flag - Adds
DisableDiscoveryEnumeration = true
to vector test methods to optimize test discovery - Includes a new test case to validate vector API functionality and reference assembly completeness
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
NativeVectorFloat32Tests.cs | Adds DisableDiscoveryEnumeration to test attributes and includes new VectorAPITest method for API validation |
DataTestUtility.cs | Enables vector support for Azure SQL Database by changing IsVectorSupported logic |
SqlVector.cs | Fixes XML documentation comment reference path |
src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/VectorTest/NativeVectorFloat32Tests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small comment needed. I'm not sure if Copilot is correct with its suggestion.
src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/DataTestUtility.cs
Show resolved
Hide resolved
@apoorvdeshmukh please port this PR to release/6.1 as well on merge. |
@paulmedynski @apoorvdeshmukh I think JSON tests enablement will be done separately, and its not covered in this PR. |
Description
This commit enable the vector tests against Azure SQLDb Instance add adds testcase to validate ref assembly for vector APIs.
Testing
Vector tests for backward compatibility scenarios and native testcases.
Guidelines
Please review the contribution guidelines before submitting a pull request: