mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-30 01:31:15 +08:00
Non-deterministic order for NULL and NaN distances
This commit is contained in:
@@ -7,6 +7,5 @@ CREATE INDEX ON t USING hnsw (val vector_ip_ops);
|
||||
INSERT INTO t (val) VALUES ('[1,2,4]');
|
||||
|
||||
SELECT * FROM t ORDER BY val <#> '[3,3,3]';
|
||||
SELECT * FROM t ORDER BY val <#> (SELECT NULL::vector);
|
||||
|
||||
DROP TABLE t;
|
||||
|
||||
Reference in New Issue
Block a user