Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gatorsmile committed Jan 30, 2018
1 parent 9a4aada commit 7a71c5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/pyspark/sql/udf.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ def returnType(self):
elif self.evalType == PythonEvalType.SQL_GROUPED_AGG_PANDAS_UDF \
and isinstance(self._returnType_placeholder, (StructType, ArrayType, MapType)):
raise NotImplementedError(
"ArrayType, StructType and MapType are not supported with PandasUDFType.GROUPED_AGG")
"ArrayType, StructType and MapType are not supported with "
"PandasUDFType.GROUPED_AGG")

return self._returnType_placeholder

Expand Down

0 comments on commit 7a71c5a

Please sign in to comment.