liukun4515 commented on issue #5022:
URL: 
https://github.com/apache/arrow-datafusion/issues/5022#issuecomment-1408046679

   I think we can change the function `distribution_from_join_type`
   ```
           JoinType::Inner | JoinType::Left | JoinType::LeftSemi | 
JoinType::LeftAnti => {
               // need the left data, and the right should be one partition
               vec![
                   Distribution::UnspecifiedDistribution,
                   Distribution::SinglePartition,
               ]
           }
   ```
   
   to 
   
   ```
   JoinType::Inner | JoinType::Left | JoinType::LeftSemi | JoinType::LeftAnti 
=> {
               // need the left data, and the right should be one partition
               vec![
                   Distribution::SinglePartition,
                   Distribution::SinglePartition,
               ]
           }
   ```
   temporarily If we can not support executing multi times for one physical 
executor for the same partition.
   
   It will not block your fix for the issue 
https://github.com/apache/arrow-datafusion/pull/4866
   
   cc @ygf11 


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