stdpain commented on a change in pull request #5491: URL: https://github.com/apache/incubator-doris/pull/5491#discussion_r592512646
########## File path: be/src/exec/olap_utils.h ########## @@ -207,6 +207,9 @@ inline SQLFilterOp to_olap_filter_type(TExprOpcode::type type, bool opposite) { case TExprOpcode::NE: return opposite ? FILTER_IN : FILTER_NOT_IN; + case TExprOpcode::EQ_FOR_NULL: Review comment: It's OK. case 1: ```sql select * from t1 where k1 <=> 1; ``` It's equals to EQ case 2: ``` select * from t1 where k1 <=> null; ``` type of k1 will not equals to LITERAL_NULL, so storage engine will not use this conjunct ---------------------------------------------------------------- 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