bart-samwel commented on a change in pull request #27991:
URL: https://github.com/apache/spark/pull/27991#discussion_r413755626
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/DataFrameFunctionsSuite.scala
##########
@@ -1532,6 +1532,13 @@ class DataFrameFunctionsSuite extends QueryTest with
SharedSparkSession {
assert(e.getMessage.contains("string, binary or array"))
}
+ test("SPARK-31227: Non-nullable null type should not coerce to nullable type
in concat") {
Review comment:
How about `concat(array(), array(NULL))`? That should have the same type
as `array(NULL)`.
----------------------------------------------------------------
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]