Github user chenghao-intel commented on the pull request:

    https://github.com/apache/spark/pull/482#issuecomment-41232857
  
    @marmbrus  I will review the nullability for aggregate operators etc. and 
it also may could be folded by statically analyze the nullability. (for example 
"sum(a)" but "a" could be an expression "Always Be Null").
    
    I was thinking not to extend the original nullability of expression, 
however only the "Never Be Null" and "Always Be Null" will be helpful in 
constant folding rule, but the boolean value of nullability is only represented 
as "Never Be Null" or "Possibly Be Null".
    
    I think we need to find some other way to show "Always Be Null" state for 
expression if we don't want to extend the nullability.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to