Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.4.0
-
None
-
None
Description
UnionAll operation in dataFrame checks only for the column dataType. For example if df1 has a field id of type String and df2 has a field city of type String then, unionAll appends both dataFrames one after another.
This should not be allowed. Either it should create combined schema or it should throw error.
Attachments
Issue Links
- duplicates
-
SPARK-9813 Incorrect UNION ALL behavior
- Resolved
- is related to
-
SPARK-15918 unionAll returns wrong result when two dataframes has schema in different order
- Resolved