You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (JIRA)" <ji...@apache.org> on 2018/11/06 16:59:00 UTC

[jira] [Commented] (CALCITE-2656) Timestamp Micro and Nano Strings literals are getting rounded to milliseconds

    [ https://issues.apache.org/jira/browse/CALCITE-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677004#comment-16677004 ] 

Vladimir Sitnikov commented on CALCITE-2656:
--------------------------------------------

It looks like a defect

> Timestamp Micro and Nano Strings literals are getting rounded to milliseconds 
> ------------------------------------------------------------------------------
>
>                 Key: CALCITE-2656
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2656
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.16.0
>            Reporter: Wamsi Viswanath
>            Assignee: Julian Hyde
>            Priority: Major
>
> explain calcite select m_6 = cast( '1999-07-11 14:02:53.874533' as TIMESTAMP(6)) from test;
> Explanation
> LogicalProject(EXPR$0=[=($18, 1999-07-11 14:02:53.875)])
>  EnumerableTableScan(table=[[mapd, test]])
>  
> Please let me know if this is an expected behavior ? Thank you!



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