jayzhan211 opened a new issue, #6849:
URL: https://github.com/apache/arrow-datafusion/issues/6849

   ### Is your feature request related to a problem or challenge?
   
   > Concatenates the two arrays. Concatenating a null or empty array is a 
no-op; otherwise the arrays must have the same number of dimensions (as 
illustrated by the first example) or **differ in number of dimensions by one 
(as illustrated by the 
   second)**. Ref https://www.postgresql.org/docs/current/functions-array.html
   
   Concat with the same number of dimensions is already supported, but the 
dimensions differ by one is not.
   
   # Same dimensions concat
   select array_concat(make_array([1,2], [3,4]), make_array([5, 6]))
   ----
   [[1, 2], [3, 4], [5, 6]]
   
   # Diff 1 concat
   select array_concat(make_array([1,2], [3,4]), make_array(5, 6))
   ---
   [[1, 2], [3, 4], [5, 6]]
   
   Their result should be the same
   
   
   ### Describe the solution you'd like
   
   We can add an additional dimension to the lower dimension array, then 
contact them
   
   ### Describe alternatives you've considered
   
   Anything else that works
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to