Henry Robinson created SPARK-23634:
--------------------------------------

             Summary: 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: 2.4.0
            Reporter: Henry Robinson


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.3#76005)

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

Reply via email to