You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2026/03/19 06:26:00 UTC

[jira] [Reopened] (SPARK-53675) withColumn should allow column name as expression

     [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org