Skip to content

Instantly share code, notes, and snippets.

@pavlov99
Created February 22, 2016 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pavlov99/369492916e44ddb1de06 to your computer and use it in GitHub Desktop.
Save pavlov99/369492916e44ddb1de06 to your computer and use it in GitHub Desktop.
fix-spark-union.scala
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