Using Spark 1.5.0 and given the following code, I expect unionAll to union DataFrame
s based on their column name. In the code, I\'m using some FunSuite for pass
no issues/bugs - if you observe your case class B very closely then you will be clear. Case Class A --> you have mentioned the order (a,b), and Case Class B --> you have mentioned the order (b,a) ---> this is expected as per order
case class A (a: Int, b: Int) case class B (b: Int, a: Int)
thanks, Subbu