Skip to content

Commit

Permalink
fix python
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Feb 13, 2016
1 parent 8698275 commit c268740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/sql/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1652,7 +1652,7 @@ def _create_judf(self, name):
jdt = ctx._ssql_ctx.parseDataType(self.returnType.json())
if name is None:
name = f.__name__ if hasattr(f, '__name__') else f.__class__.__name__
judf = sc._jvm.execution.python.UserDefinedPythonFunction(
judf = sc._jvm.org.apache.spark.sql.execution.python.UserDefinedPythonFunction(
name, bytearray(pickled_command), env, includes, sc.pythonExec, sc.pythonVer,
broadcast_vars, sc._javaAccumulator, jdt)
return judf
Expand Down

0 comments on commit c268740

Please sign in to comment.