You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/12/07 22:30:07 UTC

[GitHub] [arrow] Dandandan commented on a change in pull request #8865: ARROW-10839: [Rust] [Data Fusion] Implement BETWEEN operator

Dandandan commented on a change in pull request #8865:
URL: https://github.com/apache/arrow/pull/8865#discussion_r537882177



##########
File path: rust/datafusion/src/optimizer/utils.rs
##########
@@ -91,6 +91,8 @@ pub fn expr_to_column_names(expr: &Expr, accum: &mut HashSet<String>) -> Result<
         Expr::AggregateUDF { args, .. } => exprlist_to_column_names(args, accum),
         Expr::ScalarFunction { args, .. } => exprlist_to_column_names(args, accum),
         Expr::ScalarUDF { args, .. } => exprlist_to_column_names(args, accum),
+        // Between is rewritten in the physical plan
+        Expr::Between { .. } => Ok(()),

Review comment:
       I think column names should still be extracted here?




----------------------------------------------------------------
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:
users@infra.apache.org