[CP] fix FilterListAND/OR semantic, in oreder to match with hbase
This commit is contained in:
parent
257eda4284
commit
ad1da8d5bf
@ -815,6 +815,8 @@ bool SingleColumnValueFilter::filter_column_value(const ObHTableCell &cell)
|
||||
|
||||
bool SingleColumnValueFilter::filter_row()
|
||||
{
|
||||
// If column was found, return false if it was matched, true if it was not
|
||||
// If column not found, return true if we filter if missing, false if not
|
||||
LOG_DEBUG("[yzfdebug] filter row", K_(found_column), K_(matched_column), K_(filter_if_missing));
|
||||
return found_column_ ? (!matched_column_) : (filter_if_missing_);
|
||||
}
|
||||
|
@ -300,6 +300,7 @@ public:
|
||||
int add_filter(Filter *filter);
|
||||
Operator get_operator() const { return op_; }
|
||||
virtual void reset() override;
|
||||
virtual bool has_filter_row() override { return true; }
|
||||
|
||||
TO_STRING_KV("filter", "FilterList",
|
||||
"op", operator_to_string(op_),
|
||||
|
Loading…
x
Reference in New Issue
Block a user