Skip to content

Commit 0d5b586

Browse files
committed
Add a comment to explain what tht test is for
1 parent 2ea071a commit 0d5b586

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/core/src/test/java/test/org/apache/spark/sql/JavaUDFSuite.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public Long call(Long i) {
121121
}, DataTypes.LongType);
122122

123123
spark.range(10).toDF("x").createOrReplaceTempView("tmp");
124+
// This tests when Java UDFs are required to be the semantically same (See SPARK-9435).
124125
List<Row> results = spark.sql("SELECT inc(x) FROM tmp GROUP BY inc(x)").collectAsList();
125126
Assert.assertEquals(10, results.size());
126127
long sum = 0;

0 commit comments

Comments
 (0)