Last active
May 25, 2020 09:57
-
-
Save NeerajBhadani/a88f24378bb12ea194f693b1dbd0cb6e to your computer and use it in GitHub Desktop.
array distinct
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_distinct_df = df.withColumn("result", array_distinct($"array_col2")) | |
arr_distinct_df.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment