Skip to content

Instantly share code, notes, and snippets.

@SingularBunny
Created November 20, 2019 18:24
Show Gist options
  • Save SingularBunny/9195efdee2daede5009d2c889109b0b7 to your computer and use it in GitHub Desktop.
Save SingularBunny/9195efdee2daede5009d2c889109b0b7 to your computer and use it in GitHub Desktop.
sql("SELECT udf_name(1)")
val df = spark.range(10)
df.select(expr("udf_name(id)")
df.select(pandasTestUDF(df("id"))) * }}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment