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