diff --git a/test/expected/hnsw_bit_hamming.out b/test/expected/hnsw_bit_hamming.out index bda949e..cd0fd96 100644 --- a/test/expected/hnsw_bit_hamming.out +++ b/test/expected/hnsw_bit_hamming.out @@ -24,4 +24,6 @@ CREATE TABLE t (val varbit(3)); CREATE INDEX ON t USING hnsw (val bit_hamming_ops); ERROR: type not supported for hnsw index CREATE INDEX ON t USING hnsw ((val::bit(3)) bit_hamming_ops); +CREATE INDEX ON t USING hnsw ((val::bit(64001)) bit_hamming_ops); +ERROR: column cannot have more than 64000 dimensions for hnsw index DROP TABLE t; diff --git a/test/sql/hnsw_bit_hamming.sql b/test/sql/hnsw_bit_hamming.sql index 5319461..c517df0 100644 --- a/test/sql/hnsw_bit_hamming.sql +++ b/test/sql/hnsw_bit_hamming.sql @@ -15,4 +15,5 @@ DROP TABLE t; CREATE TABLE t (val varbit(3)); CREATE INDEX ON t USING hnsw (val bit_hamming_ops); CREATE INDEX ON t USING hnsw ((val::bit(3)) bit_hamming_ops); +CREATE INDEX ON t USING hnsw ((val::bit(64001)) bit_hamming_ops); DROP TABLE t;