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

Dongjoon Hyun updated SPARK-23634:
----------------------------------
    Affects Version/s:     (was: 2.4.0)
                       3.0.0

> AttributeReferences may be too conservative wrt nullability after optimization
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-23634
>                 URL: https://issues.apache.org/jira/browse/SPARK-23634
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Henry Robinson
>            Priority: Minor
>
> An {{AttributeReference}} effectively caches the nullability of its referent 
> when it is created. Some optimization rules can transform a nullable 
> attribute into a non-nullable one, but the references to it are not updated. 
> We could add a transformation rule that visits every {{AttributeReference}} 
> and fixes its nullability after optimization. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

Reply via email to