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 98696c2 commit 8ab0f2dCopy full SHA for 8ab0f2d
sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
@@ -140,9 +140,9 @@ class SQLQuerySuite extends QueryTest with BeforeAndAfterAll with SQLTestUtils {
140
141
val df = Seq(Tuple1(1), Tuple1(2), Tuple1(3)).toDF("index")
142
// we except the id is materialized once
143
- val idUdf = udf(() => UUID.randomUUID().toString)
+ val idUDF = udf(() => UUID.randomUUID().toString)
144
145
- val dfWithId = df.withColumn("id", idUdf())
+ val dfWithId = df.withColumn("id", idUDF())
146
// Make a new DataFrame (actually the same reference to the old one)
147
val cached = dfWithId.cache()
148
// Trigger the cache
0 commit comments