[
https://issues.apache.org/jira/browse/PHOENIX-2611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Taylor updated PHOENIX-2611:
----------------------------------
Attachment: PHOENIX-2611.patch
[~samarthjain] - please review.
> 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)