Skip to content

Commit 8ab0f2d

Browse files
committed
renamed idUdf to idUDF in SQLQuerySuite
1 parent 98696c2 commit 8ab0f2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ class SQLQuerySuite extends QueryTest with BeforeAndAfterAll with SQLTestUtils {
140140

141141
val df = Seq(Tuple1(1), Tuple1(2), Tuple1(3)).toDF("index")
142142
// we except the id is materialized once
143-
val idUdf = udf(() => UUID.randomUUID().toString)
143+
val idUDF = udf(() => UUID.randomUUID().toString)
144144

145-
val dfWithId = df.withColumn("id", idUdf())
145+
val dfWithId = df.withColumn("id", idUDF())
146146
// Make a new DataFrame (actually the same reference to the old one)
147147
val cached = dfWithId.cache()
148148
// Trigger the cache

0 commit comments

Comments
 (0)