morningman edited a comment on issue #3480:
URL: 
https://github.com/apache/incubator-doris/issues/3480#issuecomment-624625042


   > > When you call join1.getJoinOp(), the joinOp of table join1 is null, but 
getJoinOp() will
   > > return INNER_JOIN.
   > 
   > So this is a bug? the joinOp of table join1 should be `LEFT_SEMI_JOIN`, 
not null? we should also fix this?
   
   Seems not a bug. the `jionOp` is attach to the right. So `join1`'s `joinOp` 
is null, and `join2`'s `joinOp` is `LEFT SEMI JOIN`.
   
   And as the comment of `joinOp` said, `null` means if default, which is 
`INNER JOIN`.
   
   This can actually be understood as the "single-table processing of `join1`".
   And the processing logic of single table about predicate pushdown is the 
same as "inner join".


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