Created
February 22, 2016 09:57
-
-
Save pavlov99/369492916e44ddb1de06 to your computer and use it in GitHub Desktop.
fix-spark-union.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df1.unionAll(df2.select(fd1.columns.map(df1(_)): _*)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment