diff --git a/test/expected/hnsw_vector.out b/test/expected/hnsw_vector.out index d11268b..7e93401 100644 --- a/test/expected/hnsw_vector.out +++ b/test/expected/hnsw_vector.out @@ -161,6 +161,7 @@ ERROR: value 1001 out of bounds for option "ef_construction" DETAIL: Valid values are between "4" and "1000". CREATE INDEX ON t USING hnsw (val vector_l2_ops) WITH (m = 16, ef_construction = 31); ERROR: ef_construction must be greater than or equal to 2 * m +DROP TABLE t; SHOW hnsw.ef_search; hnsw.ef_search ---------------- @@ -198,7 +199,6 @@ SET hnsw.scan_mem_multiplier = 0; ERROR: 0 is outside the valid range for parameter "hnsw.scan_mem_multiplier" (1 .. 1000) SET hnsw.scan_mem_multiplier = 1001; ERROR: 1001 is outside the valid range for parameter "hnsw.scan_mem_multiplier" (1 .. 1000) -DROP TABLE t; -- dimensions CREATE TABLE t (val vector(2000)); CREATE INDEX ON t USING hnsw (val vector_l2_ops); diff --git a/test/expected/ivfflat_vector.out b/test/expected/ivfflat_vector.out index b5567ef..c33668b 100644 --- a/test/expected/ivfflat_vector.out +++ b/test/expected/ivfflat_vector.out @@ -143,6 +143,7 @@ DETAIL: Valid values are between "1" and "32768". CREATE INDEX ON t USING ivfflat (val vector_l2_ops) WITH (lists = 32769); ERROR: value 32769 out of bounds for option "lists" DETAIL: Valid values are between "1" and "32768". +DROP TABLE t; SHOW ivfflat.probes; ivfflat.probes ---------------- @@ -172,7 +173,6 @@ SET ivfflat.max_probes = 0; ERROR: 0 is outside the valid range for parameter "ivfflat.max_probes" (1 .. 32768) SET ivfflat.max_probes = 32769; ERROR: 32769 is outside the valid range for parameter "ivfflat.max_probes" (1 .. 32768) -DROP TABLE t; -- dimensions CREATE TABLE t (val vector(2000)); CREATE INDEX ON t USING ivfflat (val vector_l2_ops); diff --git a/test/sql/hnsw_vector.sql b/test/sql/hnsw_vector.sql index a081574..7d53cf7 100644 --- a/test/sql/hnsw_vector.sql +++ b/test/sql/hnsw_vector.sql @@ -95,27 +95,22 @@ CREATE INDEX ON t USING hnsw (val vector_l2_ops) WITH (m = 101); CREATE INDEX ON t USING hnsw (val vector_l2_ops) WITH (ef_construction = 3); CREATE INDEX ON t USING hnsw (val vector_l2_ops) WITH (ef_construction = 1001); CREATE INDEX ON t USING hnsw (val vector_l2_ops) WITH (m = 16, ef_construction = 31); +DROP TABLE t; SHOW hnsw.ef_search; - SET hnsw.ef_search = 0; SET hnsw.ef_search = 1001; SHOW hnsw.iterative_scan; - SET hnsw.iterative_scan = on; SHOW hnsw.max_scan_tuples; - SET hnsw.max_scan_tuples = 0; SHOW hnsw.scan_mem_multiplier; - SET hnsw.scan_mem_multiplier = 0; SET hnsw.scan_mem_multiplier = 1001; -DROP TABLE t; - -- dimensions CREATE TABLE t (val vector(2000)); diff --git a/test/sql/ivfflat_vector.sql b/test/sql/ivfflat_vector.sql index a7392b3..f4cc534 100644 --- a/test/sql/ivfflat_vector.sql +++ b/test/sql/ivfflat_vector.sql @@ -81,23 +81,19 @@ DROP TABLE t; CREATE TABLE t (val vector(3)); CREATE INDEX ON t USING ivfflat (val vector_l2_ops) WITH (lists = 0); CREATE INDEX ON t USING ivfflat (val vector_l2_ops) WITH (lists = 32769); +DROP TABLE t; SHOW ivfflat.probes; - SET ivfflat.probes = 0; SET ivfflat.probes = 32769; SHOW ivfflat.iterative_scan; - SET ivfflat.iterative_scan = on; SHOW ivfflat.max_probes; - SET ivfflat.max_probes = 0; SET ivfflat.max_probes = 32769; -DROP TABLE t; - -- dimensions CREATE TABLE t (val vector(2000));