Takeshi Yamamuro created SPARK-26965:
----------------------------------------

             Summary: Makes ElementAt nullability more precise
                 Key: SPARK-26965
                 URL: https://issues.apache.org/jira/browse/SPARK-26965
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Takeshi Yamamuro


In master, ElementAt nullable is always true;
https://github.com/apache/spark/blob/be1cadf16dc70e22eae144b3dfce9e269ef95acc/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala#L1977

But, If input key is foldable, we could make its nullability more precise.
This fix is the same with SPARK-26747 and -SPARK-26637- 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to