mirror of
https://github.com/MariaDB/server.git
synced 2025-08-26 04:11:36 +02:00
12 lines
361 B
Text
12 lines
361 B
Text
#
|
|
# MDEV-36205 subdist optimization
|
|
#
|
|
create table t1 (
|
|
id int unsigned auto_increment primary key,
|
|
v vector(500) not null,
|
|
vector index(v)
|
|
);
|
|
set rand_seed1=1234567890, rand_seed2=3;
|
|
insert t1 (v) select vec_fromtext(json_arrayagg(rand() order by rand())) from seq_1_to_500 veclen, seq_1_to_200 numvecs group by numvecs.seq;
|
|
drop table t1;
|
|
# End of 12.1 tests
|