hntd187 commented on a change in pull request #1449:
URL: https://github.com/apache/arrow-datafusion/pull/1449#discussion_r769232972
##########
File path: datafusion/src/sql/planner.rs
##########
@@ -1062,8 +1062,7 @@ impl<'a, S: ContextProvider> SqlToRel<'a, S> {
}
let field = schema.field(field_index - 1);
- let col_ident =
SQLExpr::Identifier(Ident::new(field.qualified_name()));
- self.sql_expr_to_logical_expr(&col_ident, schema)?
+ Expr::Column(field.qualified_column())
Review comment:
This is much better than what I had :-)
--
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]