asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wail Alkowaileet <wael....@gmail.com>
Subject Re: Array insert or concatenation
Date Thu, 24 May 2018 20:28:26 GMT
Probably not the most efficient way:

SELECT VALUE t
FROM [{"a":[1,2,3],"b":[4,5,6]}] as x
LET t = (SELECT value u FROM x.a as u UNION ALL SELECT value u FROM x.b as
u)

On Thu, May 24, 2018 at 10:07 AM, Steven Jacobs <sjaco002@ucr.edu> wrote:

> Hi all,
> I'm trying to find a function for concatenating two arrays, or even just
> inserting a value into an array. I don't see anything in the documentation
> or tests. Does anyone know whether we have such a capability?
> Steven
>



-- 

*Regards,*
Wail Alkowaileet

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message