Skip to content

Instantly share code, notes, and snippets.

@NeerajBhadani
Created May 25, 2020 10:07
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 NeerajBhadani/fc9027303ab4a033eea63ba5e50e7b25 to your computer and use it in GitHub Desktop.
Save NeerajBhadani/fc9027303ab4a033eea63ba5e50e7b25 to your computer and use it in GitHub Desktop.
concat
val arr_cat_df = full_df.withColumn("result", concat($"array_col1", $"array_col2"))
arr_cat_df.show(truncate=false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment