Skip to content

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.

2 participants