mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
fixes and tests
This commit is contained in:
parent
4039328eda
commit
a657b3a216
4 changed files with 121 additions and 32 deletions
|
|
@ -363,6 +363,24 @@
|
|||
]),
|
||||
})
|
||||
# ---
|
||||
# name: test_errors
|
||||
OrderedDict({
|
||||
'sql': 'select * from v',
|
||||
'rows': list([
|
||||
OrderedDict({
|
||||
'rowid': 1,
|
||||
'vector': b'\x00\x00\x80?',
|
||||
't': 'aaaaaaaaaaaax',
|
||||
}),
|
||||
]),
|
||||
})
|
||||
# ---
|
||||
# name: test_errors.1
|
||||
dict({
|
||||
'error': 'OperationalError',
|
||||
'message': 'Could not extract metadata value for column t at rowid 1',
|
||||
})
|
||||
# ---
|
||||
# name: test_idxstr
|
||||
OrderedDict({
|
||||
'sql': "select * from vec_movies where synopsis_embedding match '' and k = 0 and is_favorited = true",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue