321050
321051 auto op = make_uniq<ConjunctionExpressionMatcher>();
321052 op->expr_type = make_uniq<SpecificExpressionTypeMatcher>(ExpressionType::CONJUNCTION_OR);
321054
321055
321056 auto equal_child = make_uniq<ComparisonExpressionMatcher>();
321057 equal_child->expr_type = make_uniq<SpecificExpressionTypeMatcher>(ExpressionType::COMPARE_EQUAL);
321059 op->matchers.push_back(std::move(equal_child));
321060
321061
321062 auto and_child = make_uniq<ConjunctionExpressionMatcher>();
321063 and_child->expr_type = make_uniq<SpecificExpressionTypeMatcher>(ExpressionType::CONJUNCTION_AND);
321065
321066
321067 auto isnull_child = make_uniq<ExpressionMatcher>();
321068 isnull_child->expr_type = make_uniq<SpecificExpressionTypeMatcher>(ExpressionType::OPERATOR_IS_NULL);
321069
321070 auto isnull_child2 = make_uniq<ExpressionMatcher>();
321071 isnull_child2->expr_type = make_uniq<SpecificExpressionTypeMatcher>(ExpressionType::OPERATOR_IS_NULL);
321072 and_child->matchers.push_back(std::move(isnull_child));
321073 and_child->matchers.push_back(std::move(isnull_child2));
321074
321075 op->matchers.push_back(std::move(and_child));
321076 root = std::move(op);
321077}
ExpressionRewriter & rewriter
The expression rewriter this rule belongs to.
Definition duckdb.cpp:69564
unique_ptr< ExpressionMatcher > root
The expression matcher of the rule.
Definition duckdb.cpp:69566
@ SOME
Only some entries have to be matched, the order of the matches does not matter.
Definition duckdb.cpp:69125