Julian Hyde commented on CALCITE-1417:

[~jcamachorodriguez], Do you remember why, when you were fixing CALCITE-1220, 
you changed {{RexUtil.simplify}} to not call {{simplifyIs}} for IS_NULL and 
IS_NOT_NULL? Your code is less powerful. Specifically, it does not try to 
simplify the argument to IS_NULL or IS_NOT_NULL.

> Casts of literals
> -----------------
>                 Key: CALCITE-1417
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1417
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
> In CALCITE-1357 we added some logic (in {{DruidDateTimeUtils.leafToRanges}}) 
> to recognize various combinations of literals, casts of literals and 
> comparison operators, and I feel that logic would be simpler if we moved the 
> logic into {{RexUtil}} and flattened the casts of literals to just plain 
> literals. [~jcamachorodriguez], what do you think?

This message was sent by Atlassian JIRA

Reply via email to