maropu commented on a change in pull request #31983:
URL: https://github.com/apache/spark/pull/31983#discussion_r604529387
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/DataFrameSuite.scala
##########
@@ -2834,6 +2835,29 @@ class DataFrameSuite extends QueryTest
df10.select(zip_with(col("array1"), col("array2"), (b1, b2) =>
reverseThenConcat2(b1, b2)))
checkAnswer(test10, Row(Array(Row("cbaihg"), Row("fedlkj"))) :: Nil)
}
+
+ test("SPARK-34882: Aggregate with multiple distinct null sensitive
aggregators") {
+ spark.udf.register("countNulls", udaf(new Aggregator[JLong, JLong, JLong] {
Review comment:
nit: wrap `withUserDefinedFunction`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]