-
Notifications
You must be signed in to change notification settings - Fork 314
Feature Extension Changes for Vector Datatype Support #3209
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
Feature Extension Changes for Vector Datatype Support #3209
Conversation
src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/GenericTDSServer.cs
Outdated
Show resolved
Hide resolved
What is the format of vector data? what does it look like and what type would you expect GetFieldValue to return for it? |
26f1881
to
fd0613e
Compare
@Wraith2 We are still in the process of updating the TDS document with the relevant details for vector data. These changes are meant for the feature branch, and we plan to update the TDS document and finalize the SqlClient APIs before we start preparing changes for the main. Will share the details soon. |
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.
Some copy/paste issues to fix :) And a few other comments.
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlInternalConnectionTds.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlInternalConnectionTds.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlInternalConnectionTds.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlInternalConnectionTds.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParser.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParser.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParser.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/TdsEnums.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/GenericTDSServer.cs
Show resolved
Hide resolved
fd0613e
to
60910aa
Compare
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.
We need some tests that the feature negotiation works as expected.
src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/GenericTDSServer.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/GenericTDSServer.cs
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/GenericTDSServer.cs
Show resolved
Hide resolved
4effcd1
to
20272f5
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feat/vectorSupport #3209 +/- ##
======================================================
- Coverage 72.81% 66.28% -6.54%
======================================================
Files 297 291 -6
Lines 59661 59387 -274
======================================================
- Hits 43440 39362 -4078
- Misses 16221 20025 +3804
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
I think we're still missing some tests for combinations of server support and version negotiation.
src/Microsoft.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/GenericTDSServer.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/GenericTDSServer.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/GenericTDSServer.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.
Some thoughts about if/when to fail a connection due to bad vector FE tokens, and other test robustness suggestions.
src/Microsoft.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/GenericTDSServer.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/GenericTDSServer.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/GenericTDSServer.cs
Show resolved
Hide resolved
This commit adds feature extension for vector datatype support. Additionally, GenericTDSServer has been enhanced to enable tests to validate login requests and response for the vector feature extension. Tests have been added under SqlConnectionBasicTests through TestConnWithVectorFeatExtVersionNegotiation.
This commit adds feature extension for vector datatype support. Additionally, GenericTDSServer has been enhanced to enable tests to validate login requests and response for the vector feature extension. Tests have been added under SqlConnectionBasicTests through TestConnWithVectorFeatExtVersionNegotiation.
This commit adds feature extension for vector datatype support. Additionally, GenericTDSServer has been enhanced to enable tests to validate login requests and response for the vector feature extension. Tests have been added under SqlConnectionBasicTests through TestConnWithVectorFeatExtVersionNegotiation.
This commit adds feature extension for vector datatype support. Additionally, GenericTDSServer has been enhanced to enable tests to validate login requests and response for the vector feature extension. Tests have been added under SqlConnectionBasicTests through TestConnWithVectorFeatExtVersionNegotiation.
This commit adds feature extension for vector datatype support. Additionally, GenericTDSServer has been enhanced to enable tests to validate login requests and response for the vector feature extension. Tests have been added under SqlConnectionBasicTests through TestConnWithVectorFeatExtVersionNegotiation.
This commit adds feature extension for vector datatype support. Additionally, GenericTDSServer has been enhanced to enable tests to validate login requests and response for the vector feature extension. Tests have been added under SqlConnectionBasicTests through TestConnWithVectorFeatExtVersionNegotiation.
This commit adds feature extension for vector datatype support. Additionally, GenericTDSServer has been enhanced to enable tests to validate login requests and response for the vector feature extension. Tests have been added under SqlConnectionBasicTests through TestConnWithVectorFeatExtVersionNegotiation.
This commit adds feature extension for vector datatype support. Additionally, GenericTDSServer has been enhanced to enable tests to validate login requests and response for the vector feature extension. Tests have been added under SqlConnectionBasicTests through TestConnWithVectorFeatExtVersionNegotiation.
This commit adds feature extension for vector datatype support. Additionally, GenericTDSServer has been enhanced to enable tests to validate login requests and response for the vector feature extension. Tests have been added under SqlConnectionBasicTests through TestConnWithVectorFeatExtVersionNegotiation.
This commit adds feature extension for vector datatype support. Additionally, GenericTDSServer has been enhanced to enable tests to validate login requests and response for the vector feature extension. Tests have been added under SqlConnectionBasicTests through TestConnWithVectorFeatExtVersionNegotiation.
This commit adds feature extension for vector datatype support. Additionally, GenericTDSServer has been enhanced to enable tests to validate login requests and response for the vector feature extension. Tests have been added under SqlConnectionBasicTests through TestConnWithVectorFeatExtVersionNegotiation.
This commit adds feature extension for vector datatype support. Additionally, GenericTDSServer has been enhanced to enable tests to validate login requests and response for the vector feature extension. Tests have been added under SqlConnectionBasicTests through TestConnWithVectorFeatExtVersionNegotiation.
This PR adds feature extension support for vector datatype that allows MDS to fetch vector data in native binary format in which it is stored at the server.