You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2018/02/14 23:06:00 UTC
[jira] [Commented] (CALCITE-2178) Extend expression simplifier to
work on datetime FLOOR functions
[ https://issues.apache.org/jira/browse/CALCITE-2178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16364913#comment-16364913 ]
Jesus Camacho Rodriguez commented on CALCITE-2178:
--------------------------------------------------
[~julianhyde], could you take a look at it? This should go in before CALCITE-2179.
https://github.com/apache/calcite/pull/628
Thanks
> 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)