You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2016/01/19 02:29:39 UTC
[jira] [Created] (PHOENIX-2611) current_date/time functions produce
invalid values
Nick Dimiduk created PHOENIX-2611:
-------------------------------------
Summary: 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
>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)