cloud-fan commented on a change in pull request #30296:
URL: https://github.com/apache/spark/pull/30296#discussion_r520260793
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/DataFrameFunctionsSuite.scala
##########
@@ -1401,6 +1401,40 @@ class DataFrameFunctionsSuite extends QueryTest with
SharedSparkSession {
assert(e3.message.contains(errorMsg3))
}
+ test("SPARK-33391: element_at with CreateArray") {
Review comment:
It seems an overkill to have end-to-end test for it. How about we just
add more tests in `CollectionExpressionsSuite.correctly handles ElementAt
nullability for arrays` to test negative and invalid indices?
----------------------------------------------------------------
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]