[ 
https://issues.apache.org/jira/browse/SPARK-53675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon reopened SPARK-53675:
----------------------------------
      Assignee:     (was: Malthe Borch)

Reverted at 
https://github.com/apache/spark/commit/6debd477300fec16c281890f5572181bbfcfb5e3

> withColumn should allow column name as expression
> -------------------------------------------------
>
>                 Key: SPARK-53675
>                 URL: https://issues.apache.org/jira/browse/SPARK-53675
>             Project: Spark
>          Issue Type: Wish
>          Components: PySpark
>    Affects Versions: 4.0.0
>            Reporter: Malthe Borch
>            Priority: Major
>              Labels: good-first-issue, pull-request-available
>             Fix For: 4.2.0
>
>
> The `DataFrame.withColumn` method requires a `Column` but for convenience, 
> following other similar API changes in 3.0, we should allow a column name 
> (i.e. string) as a shorthand for wrapping using `col`.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to