[
https://issues.apache.org/jira/browse/CALCITE-1659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15884824#comment-15884824
]
Remus Rusanu commented on CALCITE-1659:
---------------------------------------
Anywhere I can get quickly up to speed with .iq maven integration in Calcite? I
did a quick read of https://github.com/julianhyde/quidem and modified
{{core/src/test/resources/sql/misc.iq}} with my test(s), but running {{mvn
test}} produces no new .iq files on core/target. I don't think it even run my
new tests, mvn test succeeds, despite me not adding correct expected output.
> 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)