Added test for array to halfvec cast [skip ci]

(cherry picked from commit 3e523434f487882964d3e2c91c772f830ef8f060)
This commit is contained in:
Andrew Kane
2026-07-28 09:08:01 -07:00
committed by zeekay
parent 9e99ab499e
commit 0a99770a2c
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -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];