jayzhan211 commented on PR #7137:
URL: 
https://github.com/apache/arrow-datafusion/pull/7137#issuecomment-1657072932

   When I run `select array_concat(column1, [7]) from arrays_values_v2;`
   I got 7 for each rows.
   ```
   args: [ListArray
   [
     PrimitiveArray<Int64>
   [
     null,
     2,
     3,
   ],
     null,
     PrimitiveArray<Int64>
   [
     9,
     null,
     10,
   ],
     PrimitiveArray<Int64>
   [
     null,
     1,
   ],
     PrimitiveArray<Int64>
   [
     11,
     12,
   ],
     null,
   ], ListArray
   [
     PrimitiveArray<Int64>
   [
     7,
   ],
     PrimitiveArray<Int64>
   [
     7,
   ],
     PrimitiveArray<Int64>
   [
     7,
   ],
     PrimitiveArray<Int64>
   [
     7,
   ],
     PrimitiveArray<Int64>
   [
     7,
   ],
     PrimitiveArray<Int64>
   [
     7,
   ],
   ]]
   ```
   
   While I run `select make_array(column1, make_array(50,51,52)) from 
arrays_values_without_nulls;`
   
   I just got [50,51,52] once, not repeating for each rows
   
   ```
   [ListArray
   [
     PrimitiveArray<Int64>
   [
     1,
     2,
     3,
     4,
     5,
     6,
     7,
     8,
     9,
     10,
   ],
     PrimitiveArray<Int64>
   [
     11,
     12,
     13,
     14,
     15,
     16,
     17,
     18,
     19,
     20,
   ],
     PrimitiveArray<Int64>
   [
     21,
     22,
     23,
     24,
     25,
     26,
     27,
     28,
     29,
     30,
   ],
     PrimitiveArray<Int64>
   [
     31,
     32,
     33,
     34,
     35,
     26,
     37,
     38,
     39,
     40,
   ],
   ], ListArray
   [
     PrimitiveArray<Int64>
   [
     50,
     51,
     52,
   ],
   ]]
   ```
   
   Any idea about this?


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