amaliujia commented on PR #38793:
URL: https://github.com/apache/spark/pull/38793#issuecomment-1327980390

   I pushed a commit to use `Alias` but now I know why I have been having a 
sense of the different semantics:
   
   ```
     message Alias {
       Expression expr = 1;
       repeated string name = 2;
       // Alias metadata expressed as a JSON map.
       optional string metadata = 3;
     }
    ```
    
    Alias has a list of name parts while WithColumn assumes one name part (a 
single string). Right now I just assume there is one name part passed from the 
Alias messages. 


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

Reply via email to