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)

Reply via email to