HyukjinKwon commented on pull request #35032:
URL: https://github.com/apache/spark/pull/35032#issuecomment-1002336129


   That's related to this 
https://github.com/apache/spark/blob/master/python/pyspark/sql/functions.py#L60-L64.
 It's because of legacy behaviours. Yes we should convert all to 
`ColumnOrName`. There are some special cases where `Column` and `str` mean 
different things (e.g., 
https://github.com/apache/spark/blob/master/python/pyspark/sql/functions.py#L4795-L4796).
 In such cases, we should explicitly document that `str` here does not mean 
`Column` names.
   
   


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