jackwener commented on issue #1468:
URL: 
https://github.com/apache/arrow-datafusion/issues/1468#issuecomment-1094025918

   @Dandandan . Hi, I'm a little confused about the details.
   
   --------
   Now alias in `Expr`:
   
   Expr is enum as 
   
   - Alias
   - Column
   - ScalarVariable
   - ....
   
   --------
   After use `NamedExpr`,The structure is like this
   
   - Alias
   - OtherExpr
     - Column
     - ScalarVariable
     - ....
   
   ------
   
   Can we use this struct to present it?
   
   ```rust
   struct NamedExpr {
       /// Alias or generated name
       name: Option<String>,
       /// The expression
       expr: Expr,
   }
   ```
   
   


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