You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/03/16 22:54:10 UTC

[jira] [Updated] (SPARK-23634) AttributeReferences may be too conservative wrt nullability after optimization

     [ 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: 3.0.0)
                       3.1.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.1.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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org