Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Incomplete
-
1.3.0
-
None
Description
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.
Attachments
Issue Links
- is related to
-
SPARK-6635 DataFrame.withColumn can create columns with identical names
- Resolved