mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-05 00:38:39 +00:00
Added test for array to halfvec cast [skip ci]
This commit is contained in:
1 parent
d2e2aa0e63
commit
3e523434f4
2 files changed
+3
No files matched your search
@@ -76,6 +76,7 @@ SELECT '{{1}}'::real[]::sparsevec;
|
||||
|
||||
SELECT array_agg(n)::vector FROM generate_series(1, 16001) n;
|
||||
SELECT array_to_vector(array_agg(n), 16001, false) FROM generate_series(1, 16001) n;
|
||||
SELECT array_agg(n)::halfvec FROM generate_series(1, 16001) n;
|
||||
|
||||
-- ensure no error
|
||||
SELECT ARRAY[1,2,3] = ARRAY[1,2,3];
|
||||
Reference in new issue
Block a user