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 2019/05/21 04:18:17 UTC

[jira] [Resolved] (SPARK-6634) Allow replacing columns in Transformers

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

Hyukjin Kwon resolved SPARK-6634.
---------------------------------
    Resolution: Incomplete

> Allow replacing columns in Transformers
> ---------------------------------------
>
>                 Key: SPARK-6634
>                 URL: https://issues.apache.org/jira/browse/SPARK-6634
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 1.3.0
>            Reporter: Joseph K. Bradley
>            Priority: Minor
>              Labels: bulk-closed
>
> Currently, Transformers do not allow input and output columns to share the same name.  (In fact, this is not allowed but also not even checked.)
> Short-term proposal: Disallow input and output columns with the same name, and add a check in transformSchema.
> Long-term proposal: Allow input & output columns with the same name, and where the behavior is that the output columns replace input columns with the same name.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org