[ 
https://issues.apache.org/jira/browse/SPARK-12225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15048286#comment-15048286
 ] 

Reynold Xin commented on SPARK-12225:
-------------------------------------

Why is this necessary? It seems difficult to design an API for this, and it is 
trivial for users to do it themselves.


> Support adding or replacing multiple columns at once in DataFrame API
> ---------------------------------------------------------------------
>
>                 Key: SPARK-12225
>                 URL: https://issues.apache.org/jira/browse/SPARK-12225
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 1.5.2
>            Reporter: Sun Rui
>
> Currently, withColumn() method of DataFrame supports adding or replacing only 
> single column. It would be convenient to support adding or replacing multiple 
> columns at once.
> Also withColumnRenamed() supports renaming only single column.It would also 
> be convenient to support renaming multiple columns at once.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to