jackwener commented on PR #8910:
URL: https://github.com/apache/incubator-doris/pull/8910#issuecomment-1096159553

   TODOļ¼š
   Now, this rule apply just predicate all is `AND` like `expr1 And expr2 And 
expr3`.
   
   The future ticklet is normalize `Expr`, we should conjunct all `OR`, like
   
   ```sql
   (A and B) or C -> (A or C) and (B or C)
   (A and B or C) or (D or E)-> (A and B and E) or (C and D) -> (A or C) and (A 
or D) and (B or C) and (B or D) and (E or C) and (E or D)
   ```
   
   For each (`left` `OR` `right`), `left` and `right` must have same `column`.


-- 
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: commits-unsubscr...@doris.apache.org

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