dongjoon-hyun commented on a change in pull request #23867: [SPARK-26965][SQL] 
Makes ElementAt nullability more precise
URL: https://github.com/apache/spark/pull/23867#discussion_r261481545
 
 

 ##########
 File path: 
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CollectionExpressionsSuite.scala
 ##########
 @@ -1092,6 +1092,58 @@ class CollectionExpressionsSuite extends SparkFunSuite 
with ExpressionEvalHelper
     checkEvaluation(ElementAt(mb0, Literal(Array[Byte](3, 4))), null)
   }
 
+  test("SPARK-26965 correctly handles ElementAt nullability for arrays") {
 
 Review comment:
   Yes. I've heard the rule from @cloud-fan in my old PRs.
   
   I'm not sure if that is a written rule or not. 
   
   Hi, @cloud-fan . Do we have some URLs for the above `SPARK JIRA ID` usage 
rule in the test case name?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to