- Notifications
You must be signed in to change notification settings - Fork311
Introduce SqlVectorFloat32 SqlType class for vector datatype support#3433
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
811f433
44109e4
0abd4d2
d04dc5c
5ddc4dd
c2033c5
79f3583
cb6946f
5d58c6a
f227c0b
810648a
2e2b80a
897a6f6
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1926,7 +1926,7 @@ private MetaType GetMetaTypeOnly() | ||
{ | ||
if (_metaType != null) | ||
{ | ||
if (_metaType.SqlDbType == SqlDbTypeExtensions.Vector && (_direction == ParameterDirection.Input) && (_value == null || _value == DBNull.Value)) | ||
apoorvdeshmukh marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
{ | ||
_value = DBNull.Value; | ||
return MetaType.GetDefaultMetaType(); | ||
@@ -1958,6 +1958,7 @@ private MetaType GetMetaTypeOnly() | ||
return MetaType.GetMetaTypeFromType(valueType); | ||
} | ||
} | ||
return MetaType.GetDefaultMetaType(); | ||
} | ||
@@ -2035,9 +2036,9 @@ internal void Validate(int index, bool isCommandProc) | ||
GetCoercedValue(); | ||
} | ||
if (metaType.SqlDbType == SqlDbTypeExtensions.Vector &&(_value == null || _value == DBNull.Value) && (Direction == ParameterDirection.Output || Direction == ParameterDirection.InputOutput)) | ||
{ | ||
throw ADP.NullOutputParameterValueForVector(_parameterName); | ||
} | ||
//check if the UdtTypeName is specified for Udt params | ||
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.