From 9725a286e17283bea50cf0a679b80e95c6c8af26 Mon Sep 17 00:00:00 2001 From: Keming Date: Thu, 7 Nov 2024 12:03:42 +0800 Subject: [PATCH] fix partition test Signed-off-by: Keming --- tests/logic/partition.slt | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/tests/logic/partition.slt b/tests/logic/partition.slt index 62ae63f..57cf149 100644 --- a/tests/logic/partition.slt +++ b/tests/logic/partition.slt @@ -22,16 +22,7 @@ SELECT FROM generate_series(1, 1000); statement ok -CREATE INDEX ON ONLY items USING rabbithole (val vector_l2_ops); - -statement ok -CREATE INDEX CONCURRENTLY ON id_123 USING rabbithole (val vector_l2_ops); - -statement ok -CREATE INDEX CONCURRENTLY ON id_456 USING rabbithole (val vector_l2_ops); - -statement ok -CREATE INDEX CONCURRENTLY ON id_789 USING rabbithole (val vector_l2_ops); +CREATE INDEX ON items USING rabbithole (val rabbithole.vector_l2_ops); query I SELECT COUNT(1) FROM (SELECT 1 FROM items ORDER BY val <-> '[0.5,0.5,0.5]' limit 10) t2; @@ -48,7 +39,7 @@ SELECT COUNT(1) FROM (SELECT 1 FROM items ORDER BY val <=> '[0.5,0.5,0.5]' limit # partial index statement ok -CREATE INDEX ON ONLY items USING rabbithole (val vector_dot_ops) WHERE (category_id = 1); +CREATE INDEX ON items USING rabbithole (val rabbithole.vector_dot_ops) WHERE (category_id = 1); query I SELECT COUNT(1) FROM