calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remus Rusanu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CALCITE-1659) Timestamps are loosing sub-second parts after Calcite literal constant reduction
Date Sun, 26 Feb 2017 10:26:46 GMT
Remus Rusanu created CALCITE-1659:
-------------------------------------

             Summary: Timestamps are loosing sub-second parts after Calcite literal constant
reduction
                 Key: CALCITE-1659
                 URL: https://issues.apache.org/jira/browse/CALCITE-1659
             Project: Calcite
          Issue Type: Bug
            Reporter: Remus Rusanu
            Assignee: Julian Hyde


{noformat}
select cast("1970-12-31 15:59:58.174" as TIMESTAMP) from src limit 1;
{noformat}

yields {{1970-12-31 15:59:58}} if CBO is enabled in Hive. {{ZonelessTimestamp.toString()}}
contains a truncation 0-19 (ie. removes sub-second part from string representation).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message