You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
postgres=# drop table test;
DROP TABLE
postgres=# create table test (embedding vector(3) not null);
CREATE TABLE
postgres=# CREATE INDEX ON test USING vectors (embedding l2_ops)
WITH (options = "capacity = 2097152");
CREATE INDEX
postgres=# insert into test (embedding) values (Array[1,2]::real[]);
ERROR: called `Result::unwrap()` on an `Err` value: Closed
postgres=# insert into test (embedding) values (Array[1,2,3]::real[]);
<< stuck here >>
I build the index on an empty table and then try inserting a bad vector into it, then inserting another normal vector. It gets stuck.
Potential solution:
Check the dimension when inserting a new vector, to prevent unexpected behaviors.
Handle the Err to release locks
The text was updated successfully, but these errors were encountered:
I build the index on an empty table and then try inserting a bad vector into it, then inserting another normal vector. It gets stuck.
Potential solution:
The text was updated successfully, but these errors were encountered: