Skip to content

Commit 35e6a4a

Browse files
committed
skip
1 parent e8d0a4c commit 35e6a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/catalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def registerFunction(self, name, f, returnType=StringType()):
260260
>>> from pyspark.sql.functions import udf
261261
>>> from pyspark.sql.types import IntegerType, StringType
262262
>>> random_udf = udf(lambda: int(random.random() * 100), IntegerType()).asNondeterministic()
263-
>>> spark.catalog.registerFunction("random_udf", random_udf, StringType())
263+
>>> spark.catalog.registerFunction("random_udf", random_udf, StringType()) # doctest: +SKIP
264264
>>> spark.sql("SELECT random_udf()").collect() # doctest: +SKIP
265265
[Row(random_udf()=u'82')]
266266
"""

0 commit comments

Comments
 (0)