mariadb/mysql-test/main/vector_partition.result
2024-11-05 14:00:51 -08:00

19 lines
750 B
Text

# Vector indexes do not support partitioned tables
create table t1 (id int auto_increment primary key,
v vector(5) not null, vector index (v))
partition by key(id) partitions 2;
ERROR HY000: Partitioned tables do not support VECTOR
create table t1 (id int auto_increment primary key,
v vector(5) not null)
partition by key(id) partitions 2;
alter table t1 add vector index(v);
ERROR HY000: Partitioned tables do not support VECTOR
create vector index i on t1(v);
ERROR HY000: Partitioned tables do not support VECTOR
drop table t1;
create table t1 (id int auto_increment primary key,
v vector(5) not null, vector index(v));
alter table t1 partition by key(id) partitions 2;
ERROR HY000: Partitioned tables do not support VECTOR
drop table t1;
db.opt