morningman opened a new pull request #4842:
URL: https://github.com/apache/incubator-doris/pull/4842


   ## Proposed changes
   
   SQL like:
   `select a join b union select c join d`;
   
   if both a/b and c/d are colocate join, the query may failed with error like:
   
   `failed to get tablet. tablet_id=26846, with schema_hash=398972982, 
reason=tablet does not exist`
   
   This is because when assigning exec host for fragment, the planner failed to 
distinguish which scan nodes
   belong to the certain fragment. So it may choose the wrong host for scan 
range.
   
   ## Types of changes
   
   - [x] Bugfix (non-breaking change which fixes an issue)
   
   ## Checklist
   
   - [] I have create an issue on (Fix #4841), and have described the 
bug/feature there in detail


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to