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

Julian Hyde resolved CALCITE-1526.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.11.0

Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/584432ca.

> Use Strong to infer whether a predicate's inputs may be null
> ------------------------------------------------------------
>
>                 Key: CALCITE-1526
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1526
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>             Fix For: 1.11.0
>
>
> {{RexImplicationChecker}} must use 
> [Strong|https://calcite.apache.org/apidocs/org/apache/calcite/plan/Strong.html]
>  to infer whether a predicate's inputs may be null. In particular the code in 
> {{RexImplicationChecker.implies2}}.
> Also {{RelMdPredicates.projectPredicate}}.
> [~jcamachorodriguez], Could/should {{RexUtil.ExprSimplifier}} be using 
> {{Strong}}?
> Also, maybe, {{RexUtil.simplifyIs}}.
> Also, {{LogicVisitor}} might be able to deduce that an expression is never 
> null if certain input fields are not null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to