mingmwang commented on PR #2172:
URL:
https://github.com/apache/arrow-datafusion/pull/2172#issuecomment-1091051845
Looks like in DataFusion, the logical Project node already support Alias. It
should be similar to SparkSQL's SubqueryAlias.
And we can also use it to represent a NamedStruct
````
pub struct Projection {
/// The list of expressions
pub expr: Vec<Expr>,
/// The incoming logical plan
pub input: Arc<LogicalPlan>,
/// The schema description of the output
pub schema: DFSchemaRef,
/// Projection output relation alias
pub alias: Option<String>,
}
````
--
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]