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
Add vector support #10789
base: master
Are you sure you want to change the base?
Add vector support #10789
Conversation
@@ -601,10 +601,22 @@ export class PostgresQueryRunner | |||
downQueries.push(this.dropIndexSql(table, index)) | |||
}) | |||
} | |||
|
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.
These were changed by npm run format
@@ -459,10 +459,8 @@ export class InsertQueryBuilder< | |||
// add VALUES expression | |||
if (valuesExpression) { | |||
if ( | |||
( | |||
this.connection.driver.options.type === "oracle" || |
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.
These were changed by npm run format
6b8b07f
to
2b60ebf
Compare
It seems pgvector installation is a bit difficult with docker, got stuck here :/ |
Fixes #10056
Description of change
Based on #10138 - added more tests, the tests showed issues, fixed those issues.
The tests however require the pgvector extension set up for the server. On my machine I followed instructions from https://github.com/pgvector/pgvector - I don't know if the test runners are set up to support it? Can try to get it done if anyone can give me hints.
Also, when I did a
npm run format
it formatted some files I did not touch. I committed them here, can undo that if necessary.Pull-Request Checklist
master
branchnpm run format
to apply prettier formattingnpm run test
passes with this changeFixes #0000