Description
Currently,
Seq((1,("a", 1))).toDF union Seq((1L,("a", "b"))).toDF org.apache.spark.sql.AnalysisException: Union can only be performed on tables with the compatible column types. LongType <> IntegerType at the first column of the second table;;
It prints that it fails due to LongType <> IntegerType whereas actually it is StructType(...) <> StructType(...)