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

feat: Add support for pgvector's vector data type #1

Draft
wants to merge 4 commits into
base: test-array-object
Choose a base branch
from

Conversation

amotl
Copy link
Member

@amotl amotl commented Dec 13, 2023

The same thing as MeltanoLabs#251, but better readable until MeltanoLabs#250 will be merged.

@amotl amotl force-pushed the pgvector branch 10 times, most recently from 7b0c6f8 to 9ce04b1 Compare December 14, 2023 23:41
@amotl amotl force-pushed the test-array-object branch 7 times, most recently from 1722b80 to 723e1fa Compare December 19, 2023 20:41
By wrapping them into a container class `AssertionHelper`, it is easy
to parameterize them, and to provide them to the test functions using
a pytest fixture.

This way, they are reusable from database adapter implementations which
derive from PostgreSQL.

The motivation for this is because the metadata column prefix `_sdc`
needs to be adjusted for other database systems, as they reject such
columns, being reserved for system purposes. In the specific case of
CrateDB, it is enough to rename it like `__sdc`. Sad but true.
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