jackwener commented on PR #4232:
URL: 
https://github.com/apache/arrow-datafusion/pull/4232#issuecomment-1319832579

   Spark doesn't have alias-projection. @mingmwang 
   
   We also can read `sql standard 2003` 
   
   Alias just contain 
   - `expr-alias (like: projection contain is expr)` 
   - `table-ref-alias`
   
   ```
   select ('aa1', 'aa2' as AA1) as B
   
   is Alias("B", Expr::List(aa1, Alias("AA1", aa2)))
   ```
   
   Spark projection just contains `Seq[NamedExpr]` `input`
   


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