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