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

Jesus Camacho Rodriguez resolved CALCITE-2334.
----------------------------------------------
       Resolution: Fixed
         Assignee: Jesus Camacho Rodriguez  (was: Julian Hyde)
    Fix Version/s: 1.17.0

I have merged it in 
http://git-wip-us.apache.org/repos/asf/calcite/commit/e7a4e8431. Hence, 
currently we can simplify CEIL on top of CEIL and FLOOR on top of FLOOR using 
same logic.

One pending extension is simplification of {{FLOOR(CEIL(x TO YEAR) TO YEAR)}} 
to {{CEIL(x TO YEAR)}} as described in CALCITE-2332.

> Extend simplification of expressions with CEIL function over date types
> -----------------------------------------------------------------------
>
>                 Key: CALCITE-2334
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2334
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.17.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Minor
>             Fix For: 1.17.0
>
>
> CALCITE-2332 disables simplification of CEIL function due to correctness 
> issues.
> We need new logic to enable simplification of CEIL function on date types.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to