asterixdb-dev mailing list archives

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

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

On Thu, May 24, 2018 at 10:07 AM, Steven Jacobs <> 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


Wail Alkowaileet

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