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
The original PR was accidentally opened/merged against branch add10support instead of master. Since add10support had already been merged previously, these changes did not land on master. This PR reapplies the same change set to the correct target
Medium Risk
Touches protocol column parsing, connection open/reset session setup, and parameter/type inference across the ADO.NET stack; behavior changes when extended metadata is on (default) but legacy fallback remains when disabled or on old servers.
Overview
Adds first-class VECTOR and BSON support via SingleStore extended column metadata, controlled by a new EnableExtendedDataTypes connection option (default true).
On connect (and after reset), supported servers get SET SESSION enable_extended_types_metadata = TRUE; older servers fall back unless the option was explicitly enabled, in which case open fails. ColumnDefinitionPayload now parses extended type codes and vector dimensions/element types; readers return typed ReadOnlyMemory<T> for vectors and byte[] for BSON. SingleStoreDbType.Bson / Vector, schema (SingleStoreDbColumn), parameters, and bulk copy (including UNHEX + :>VECTOR / :>BSON mappings) are wired through. Numeric arrays infer Vector parameters; byte[] stays blob unless the type is set explicitly. Docs and integration tests cover usage, legacy metadata when disabled, and reset behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The original PR was accidentally opened/merged against branch
add10supportinstead ofmaster. Sinceadd10supporthad already been merged previously, these changes did not land onmaster. This PR reapplies the same change set to the correct target