Skip to content
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

Switch to new SQLAlchemy dialect for CrateDB #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

amotl
Copy link
Contributor

@amotl amotl commented Dec 21, 2023

About

The new SQLAlchemy dialect for CrateDB includes the FloatVector type. This patch intends to validate that everything works well, and removes the previous implementation, which has been conceived here.

References

This includes the `FloatVector` SQLAlchemy type.
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (582b512) 86.11% compared to head (0ec842a) 88.87%.

Files Patch % Lines
target_cratedb/connector.py 80.00% 1 Missing ⚠️
target_cratedb/sqlalchemy/patch.py 90.90% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   86.11%   88.87%   +2.75%     
==========================================
  Files           7        6       -1     
  Lines         713      665      -48     
==========================================
- Hits          614      591      -23     
+ Misses         99       74      -25     
Flag Coverage Δ
main 88.87% <88.88%> (+2.75%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines 97 to +98
"meltanolabs-target-postgres@ git+https://github.com/singer-contrib/meltanolabs-target-postgres.git@pgvector",
"sqlalchemy-cratedb[vector]@ git+https://github.com/crate-workbench/sqlalchemy-cratedb@amo/type-float-vector",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course, both of them need to be released before a serious GA release of meltano-target-cratedb.

@amotl amotl marked this pull request as ready for review December 21, 2023 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant