ruthvikgowda814-bot commented on issue #18020:
URL: https://github.com/apache/datafusion/issues/18020#issuecomment-3592334391

   - The concat builtin function is currently producing incorrect output when 
used with arrays.
   - Instead of merging arrays element-wise (like array_concat does), it is 
simply concatenating their string representations.
   Example
   select concat(make_array(1, 2, 3), make_array(4, 5));
   output
   [1, 2, 3][4, 5]
   correct behavior
   select array_concat(make_array(1, 2, 3), make_array(4, 5));
   output
   [1, 2, 3, 4, 5]
   - The concat builtin is treating arrays as strings rather than array objects.
   - It performs string concatenation ("[1,2,3]" + "[4,5]") instead of array 
concatenation.
   
   
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to