Simplified concat tests [skip ci]

This commit is contained in:
Andrew Kane
2024-04-14 23:18:07 -07:00
parent 38b223b4bd
commit bdeb125a97
4 changed files with 8 additions and 8 deletions

View File

@@ -24,13 +24,13 @@ SELECT '[65519]'::halfvec * '[65519]';
ERROR: value out of range: overflow
SELECT '[1e-7]'::halfvec * '[1e-7]';
ERROR: value out of range: underflow
SELECT '[1,2,3]'::halfvec || '[4,5]'::halfvec;
SELECT '[1,2,3]'::halfvec || '[4,5]';
?column?
-------------
[1,2,3,4,5]
(1 row)
SELECT array_fill(0, ARRAY[16000])::halfvec || '[1]'::halfvec;
SELECT array_fill(0, ARRAY[16000])::halfvec || '[1]';
ERROR: halfvec cannot have more than 16000 dimensions
SELECT '[1,2,3]'::halfvec < '[1,2,3]';
?column?