alamb opened a new pull request, #10178: URL: https://github.com/apache/datafusion/pull/10178
## Which issue does this PR close? Follow on to https://github.com/apache/datafusion/pull/9595 from @haohuaijin ## Rationale for this change @appletreeisyellow and I noticed this while upgrading IOx -- there are times when the code would like to create `Expr::Column` that reference each of the columns in a schema To do so it would be nice to be able to create a `Column` directly from a `&FieldRef` rather than having to to first call `.as_ref()` on the `FieldRef ## What changes are included in this PR? Changes: 1. Add `Column::from(Tableref, &FieldRef)` 2. Change some code to use the new API ## Are these changes tested? By existing tests ## Are there any user-facing changes? <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. --> <!-- If there are any breaking changes to public APIs, please add the `api change` label. --> -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
