Skip to content

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

apoorvdeshmukh
Copy link
Contributor

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:

@Copilot Copilot AI review requested due to automatic review settings August 12, 2025 13:57
@apoorvdeshmukh apoorvdeshmukh requested a review from a team as a code owner August 12, 2025 13:57
Copy link
Contributor

@Copilot Copilot AI left a 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

Copy link
Contributor

@paulmedynski paulmedynski left a 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.

@cheenamalhotra
Copy link
Member

@apoorvdeshmukh please port this PR to release/6.1 as well on merge.

@cheenamalhotra
Copy link
Member

@paulmedynski @apoorvdeshmukh I think JSON tests enablement will be done separately, and its not covered in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants