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

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

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

> Makes GetArrayItem nullability more precise
> -------------------------------------------
>
>                 Key: SPARK-26637
>                 URL: https://issues.apache.org/jira/browse/SPARK-26637
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Takeshi Yamamuro
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> In master, GetArrayItem nullable is always true;
> https://github.com/apache/spark/blob/cf133e611020ed178f90358464a1b88cdd9b7889/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/complexTypeExtractors.scala#L236
> But, If input array size is constant and ordinal is foldable, we could make 
> GetArrayItem nullability more precise.



--
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