You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2019/03/04 14:07:00 UTC

[jira] [Resolved] (SPARK-26965) Makes ElementAt nullability more precise

     [ https://issues.apache.org/jira/browse/SPARK-26965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenchen Fan resolved SPARK-26965.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 23867
[https://github.com/apache/spark/pull/23867]

> 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
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org