remove vec_expo, impl drop vec0

This commit is contained in:
Alex Garcia 2024-06-25 08:52:48 -07:00
parent 1803a7d460
commit feea3bfe43
2 changed files with 93 additions and 414 deletions

View file

@ -746,6 +746,21 @@ def test_vec0_update_insert_errors2():
db.set_authorizer(None)
def test_vec0_drops():
db = connect(EXT_PATH)
db.execute("create virtual table t1 using vec0(aaa float[4], bbb float[4], chunk_size=8)")
assert [row['name'] for row in execute_all(db, "select name from pragma_table_list where name like 't1%' order by 1")] == [
't1',
't1_chunks',
't1_rowids',
't1_vector_chunks00',
't1_vector_chunks01',
]
db.execute("drop table t1")
assert [row['name'] for row in execute_all(db, "select name from pragma_table_list where name like 't1%' order by 1")] == [
]
def test_vec0_update_deletes():
db = connect(EXT_PATH)
db.execute("create virtual table t1 using vec0(aaa float[4], chunk_size=8)")