phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2611) current_date/time functions produce invalid values
Date Tue, 19 Jan 2016 19:59:39 GMT

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

Nick Dimiduk commented on PHOENIX-2611:
---------------------------------------

Thanks [~jamestaylor]!

> current_date/time functions produce invalid values
> --------------------------------------------------
>
>                 Key: PHOENIX-2611
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2611
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Nick Dimiduk
>            Assignee: James Taylor
>             Fix For: 4.7.0, 4.6.1
>
>         Attachments: PHOENIX-2611.patch
>
>
> From the dev list thread "Invalid date current_date() function",
> {quote}
> {noformat}
> > select current_time();
> +-------------------------------------+
> | TIME '292278994-08-17 07:12:55.807' |
> +-------------------------------------+
> | 292278994-08-17 07:12:55.807        |
> +-------------------------------------+
> 1 row selected (79.6 seconds)
> {noformat}
> With a debugger attached, CurrentTime(long) is being invoked with Long.MAX_VALUE, presumably
from HConstants.LATEST_TIMESTAMP via the StatementContext.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message