wangbo commented on a change in pull request #8627:
URL: https://github.com/apache/incubator-doris/pull/8627#discussion_r836220463
##########
File path: be/src/olap/null_predicate.cpp
##########
@@ -29,6 +29,13 @@ namespace doris {
NullPredicate::NullPredicate(uint32_t column_id, bool is_null, bool opposite)
: ColumnPredicate(column_id), _is_null(opposite != is_null) {}
+PredicateType NullPredicate::type() const {
+ if (_is_null)
Review comment:
```suggestion
return _is_null ? PredicateType::IsNull : PredicateType::NotIsNull;
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]