Closed abronte closed 6 years ago
Investigate what limitations there might be with UDFs and see if simple UDFs can be implemented.
def squared(s): return s * s sqlContext.udf.register("squaredWithPython", squared)
Going to ignore the spark.udf.register() use case for now since no SparkSession class is mocked out.
spark.udf.register()
SparkSession
Investigate what limitations there might be with UDFs and see if simple UDFs can be implemented.