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 2022/11/18 10:47:12 UTC

[GitHub] [arrow-datafusion] jackwener commented on pull request #4232: separate `projection` and `alias-projection`

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org