We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6b4cea commit a54010aCopy full SHA for a54010a
sql/core/src/test/scala/org/apache/spark/sql/UDFSuite.scala
@@ -119,7 +119,8 @@ class UDFSuite extends QueryTest with SharedSQLContext {
119
assert(df.logicalPlan.asInstanceOf[Project].projectList.forall(!_.deterministic))
120
assert(df.head().getDouble(0) >= 0.0)
121
122
- val df1 = testData.select(foo())
+ val foo1 = foo.asNondeterministic()
123
+ val df1 = testData.select(foo1())
124
assert(df1.logicalPlan.asInstanceOf[Project].projectList.forall(!_.deterministic))
125
assert(df1.head().getDouble(0) >= 0.0)
126
0 commit comments