Skip to content

Commit 47801c7

Browse files
committed
fix MyDummyPythonUDF
1 parent a40ba73 commit 47801c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/core/src/test/scala/org/apache/spark/sql/execution/python/BatchEvalPythonExecSuite.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,5 @@ class MyDummyPythonUDF extends UserDefinedPythonFunction(
109109
name = "dummyUDF",
110110
func = new DummyUDF,
111111
dataType = BooleanType,
112-
pythonEvalType = PythonEvalType.SQL_BATCHED_UDF)
112+
pythonEvalType = PythonEvalType.SQL_BATCHED_UDF,
113+
udfDeterministic = true)

0 commit comments

Comments
 (0)