-
Notifications
You must be signed in to change notification settings - Fork 2
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
Types: Add support for CrateDB's FLOAT_VECTOR
data type and KNN_MATCH
function
#9
Conversation
FLOAT_VECTOR
data typeFLOAT_VECTOR
data type
a232609
to
c8305b1
Compare
FLOAT_VECTOR
data typeFLOAT_VECTOR
data type: FloatVector
264f370
to
b2ef319
Compare
c5a4020
to
1da3eb2
Compare
99a0e3a
to
56bd4b6
Compare
56bd4b6
to
1070b37
Compare
1070b37
to
5ddc8e1
Compare
FLOAT_VECTOR
data type: FloatVector
FLOAT_VECTOR
data type: FloatVector
5ddc8e1
to
9c550d8
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9 +/- ##
==========================================
+ Coverage 84.65% 85.74% +1.08%
==========================================
Files 14 15 +1
Lines 919 989 +70
==========================================
+ Hits 778 848 +70
Misses 141 141
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
38e8eee
to
fd12f98
Compare
ba973a9
to
b2f448f
Compare
921aefa
to
ff7c081
Compare
ff7c081
to
79538f8
Compare
FLOAT_VECTOR
data type: FloatVector
FLOAT_VECTOR
data type and KNN_MATCH
function
ca317f8
to
4a4ceb4
Compare
0f85790
to
20443d2
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.
thank you!
20443d2
to
9557d1c
Compare
The `all` extra bundles all optional dependencies, like, in this case, `numpy`, added to support the `FLOAT_VECTOR` data type.
We don't know which circumstances cause this problem. SQLAlchemy 1.3 is EOL anyway, so we don't care too much. sqlalchemy.exc.InvalidRequestError: When initializing mapper mapped class RootStore->root, expression 'ItemStore' failed to locate a name ('ItemStore'). If this is a class name, consider adding this relationship() to the <class 'tests.compiler_test.SqlAlchemyDDLCompilerTest.test_ddl_with_foreign_keys.<locals>.RootStore'> class after both dependent classes have been defined.
9557d1c
to
36d8b3d
Compare
About
CrateDB's
FLOAT_VECTOR
data type, and its accompanyingKNN_MATCH
function, have been added with CrateDB 5.5.0. This patch adds corresponding SQLAlchemy type and function/predicate support.Details
Those two implementetations have been predecessors, and both sites will be used to verify this patch, after it has been merged.
Backlog