Malthe Borch created SPARK-53675:
------------------------------------
Summary: 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
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]