fn vector_concat(lhs: VectorRef<'_>, rhs: VectorRef<'_>) -> Result<VectorVal>
Expand description
query R
SELECT '[1,2,3]'::vector(3) || '[4,5]';
----
[1,2,3,4,5]
query error cast
SELECT '[1,2,3]'::vector(3) || null;
query R
SELECT '[1,2,3]'::vector(3) || null::vector(4);
----
NULL
query error vector cannot have more than 16000 dimensions
SELECT null::vector(16000) || '[1]';