alamb commented on code in PR #3809:
URL: https://github.com/apache/arrow-datafusion/pull/3809#discussion_r993477430


##########
datafusion/optimizer/src/utils.rs:
##########
@@ -68,6 +68,60 @@ pub fn split_conjunction<'a>(predicate: &'a Expr, 
predicates: &mut Vec<&'a Expr>
     }
 }
 
+/// Combines an array of filter expressions into a single filter expression
+/// consisting of the input filter expressions joined with logical AND.
+/// Returns None if the filters array is empty.
+pub fn combine_filters(filters: &[Expr]) -> Option<Expr> {

Review Comment:
   Moved from elsewhere



##########
datafusion/expr/src/expr_fn.rs:
##########
@@ -468,60 +468,6 @@ pub fn when(when: Expr, then: Expr) -> CaseBuilder {
     CaseBuilder::new(None, vec![when], vec![then], None)
 }
 
-/// Combines an array of filter expressions into a single filter expression

Review Comment:
   This code was moved



-- 
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]

Reply via email to