Skip to content

Vector Datatype support for SqlDataRecord #3450

Open

Description

@cheenamalhotra

Introduce support for Vector datatype when working with SqlDataRecord.

P.S. Please upvote/comment on this feature if it is a business need for you, for us to prioritize accordingly.

Activity

  1. added
    Area\Vector
    on Jun 26, 2025
  2. moved this from To triage to Backlog in SqlClient Boardon Nov 21, 2025
  3. priyankatiwari08 commented on Sep 17, 2026

    @priyankatiwari08
    Contributor

    /triage

  4. github-actions commented on Sep 17, 2026

    @github-actions

    🔍 Triage Summary (on-demand re-triage)

    Check Result
    Issue type Task
    Environment Not applicable (feature/task request, no bug repro required)
    Area Area\Vector
    Duplicates Potentially related: #3449 (Vector Datatype TVP support), and parent #3440 (Add support for vector datatype for it's usage with TVP and SqlDataRecord)
    Regression Not indicated

    Analysis

    This is a task requesting native Vector datatype support when populating SqlDataRecord instances, most relevant to Table-Valued Parameter (TVP) scenarios where SqlDataRecord is used to build rows sent to SQL Server 2025+. It is a sub-issue of the broader parent request #3440 to add Vector support for TVP/SqlDataRecord, and overlaps closely with #3449. Severity: P2 (feature enhancement, not a regression or blocking bug).

    Next Steps

    • Recommend reviewing Vector Datatype TVP support #3449 and parent Add support for vector datatype for it's usage with TVP and SqlDataRecord #3440 to consolidate scope and avoid duplicate implementation effort — these three issues appear to be tracking the same underlying feature from different angles.
    • If distinct scope is confirmed (e.g., this issue is specifically about SqlDataRecord.SetValue/SetSqlVector accepting SqlDbType.Vector and correctly reporting GetFieldType/GetSqlVector for TVP rows), assign to Copilot coding agent to investigate SqlDataRecord.cs and MetaData/SmiMetaData handling for the Vector type, following the same pattern used for DateOnly/TimeOnly support added in Add Support for DateOnly & TimeOnly types on SqlDataRecord #3125, and update ref/ reference assemblies if any new public API surface (e.g., SqlDataRecord.GetSqlVector) is introduced.
    • Ensure functional/unit tests are added under src/Microsoft.Data.SqlClient/tests/ covering TVP round-trips of SqlVector values via SqlDataRecord.

    Note: This triage summary is auto-generated by an AI agent. The analysis and suggestions above have not been verified by a human maintainer. Please treat as preliminary guidance only.

    Generated by SqlClient Issue Auto-Triage for #3450 · copilot · auto · 55.7 AIC · ⌖ 13 AIC · ⊞ 11.9K · ◷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area\Vector

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions