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

Jesus Camacho Rodriguez updated CALCITE-2178:
---------------------------------------------
    Description: 
Extend expression simplifier to support:
{code}
FLOOR(FLOOR(CAST( '2010-01-10 00:00:00' AS TIMESTAMP) TO HOUR) TO DAY) => 
FLOOR(CAST( '2010-01-10 00:00:00' AS TIMESTAMP) TO DAY)
{code}


  was:
Extend expression simplifier to support: FLOOR(FLOOR(CAST( '2010-01-10 
00:00:00' AS TIMESTAMP) TO HOUR) TO DAY) => FLOOR(CAST( '2010-01-10 00:00:00' 
AS TIMESTAMP) TO DAY)



> Extend expression simplifier to work on datetime FLOOR functions
> ----------------------------------------------------------------
>
>                 Key: CALCITE-2178
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2178
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>             Fix For: 1.16.0
>
>
> Extend expression simplifier to support:
> {code}
> FLOOR(FLOOR(CAST( '2010-01-10 00:00:00' AS TIMESTAMP) TO HOUR) TO DAY) => 
> FLOOR(CAST( '2010-01-10 00:00:00' AS TIMESTAMP) TO DAY)
> {code}



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

Reply via email to