jayzhan211 commented on issue #6555:
URL: 
https://github.com/apache/arrow-datafusion/issues/6555#issuecomment-1605206543

   I am considering applying unnest for each array and `join` them together, is 
there an existing plan for this joining?
   For example, unnest([1,2], [3,4,5]) is simplified to unnest_plan([1,2]), 
unnest_plan([3,4,5])
   ```
   Ok(Some(Union
     Unnest: 
unnest(make_array(Int64(1),Int64(2)),make_array(Int64(3),Int64(4)))_0
       Projection: List([1,2]) AS 
unnest(make_array(Int64(1),Int64(2)),make_array(Int64(3),Int64(4)))_0
         EmptyRelation
     Unnest: 
unnest(make_array(Int64(1),Int64(2)),make_array(Int64(3),Int64(4)))_1
       Projection: List([3,4]) AS 
unnest(make_array(Int64(1),Int64(2)),make_array(Int64(3),Int64(4)))_1
         EmptyRelation))
   ```
   
   For those Unnest, apply some kind of `Join` for them.  I did not find any 
JoinType can concat rows side by side. Are there any existing ways to achieve 
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