Skip to content

Instantly share code, notes, and snippets.

@NeerajBhadani
Last active May 25, 2020 10:03
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/11008d9fa5e566490ef06694b143f074 to your computer and use it in GitHub Desktop.
Save NeerajBhadani/11008d9fa5e566490ef06694b143f074 to your computer and use it in GitHub Desktop.
arrays_overlap
val arr_overlap_df = full_df
.withColumn("result", arrays_overlap($"array_col1", $"array_col2"))
arr_overlap_df.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment