crate / sqlalchemy-cratedb

SQLAlchemy dialect for CrateDB.
https://cratedb.com/docs/sqlalchemy-cratedb/
Apache License 2.0
3 stars 2 forks source link

Types: Add support for CrateDB's `FLOAT_VECTOR` data type and `KNN_MATCH` function #9

Closed amotl closed 3 months ago

amotl commented 9 months ago

About

CrateDB's FLOAT_VECTOR data type, and its accompanying KNN_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

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.74%. Comparing base (6b64619) to head (9557d1c).

Additional details and impacted files ```diff @@ 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 ``` | [Flag](https://app.codecov.io/gh/crate-workbench/sqlalchemy-cratedb/pull/9/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=crate-workbench) | Coverage Δ | | |---|---|---| | [main](https://app.codecov.io/gh/crate-workbench/sqlalchemy-cratedb/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=crate-workbench) | `85.74% <100.00%> (+1.08%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=crate-workbench#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.