Skip to content

Commit 3a2c1ef

Browse files
committed
Update README.md
1 parent c237c25 commit 3a2c1ef

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ selectBinaryQuantize:
6262
SELECT binary_quantize('[0,0.1,-0.2,-0.3,0.4,0.5,0.6,-0.7,0.8,-0.9,1]'::VECTOR);
6363
```
6464
65+
see https://github.com/pgvector/pgvector/blob/master/test/sql/vector_type.sql
66+
6567
**TODO**
6668
6769
Add more types - halfvec, sparse vectors
68-
Query Operators - add more for (+ - * = > < <= >= != ||)
69-
Add functions - e.g. sum(vector), avg(vector) https://github.com/pgvector/pgvector/blob/master/test/sql/vector_type.sql
7070
7171
Extending an existing grammar through more than one level of inheritance isn't supported by grammar generator -
7272
This would require fixes to https://github.com/sqldelight/Grammar-Kit-Composer - work around is to override manually e.g.
@@ -78,10 +78,9 @@ This would require fixes to https://github.com/sqldelight/Grammar-Kit-Composer -
7878
}
7979
```
8080

81-
SqlDelight needs this fix https://github.com/sqldelight/sqldelight/pull/5625 for the module resolver to be the first
82-
83-
PostgreSqlTypeResolver needs to be (open) inheritable rather than use delegation e.g.
84-
override `definitionType` method expects to be called via inheritance
81+
SqlDelight needs this fix https://github.com/sqldelight/sqldelight/pull/5677 for the modules to work as the
82+
PostgreSqlTypeResolver needs to be (open) inheritable rather than use delegation e.g. override `definitionType` method
83+
expects to be called via inheritance.
8584

8685
Use Jdbc types https://github.com/pgvector/pgvector-java either directly in type resolver or using SqlDelight type adapters
8786

0 commit comments

Comments
 (0)