You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2016/01/23 04:08:39 UTC

[jira] [Resolved] (PHOENIX-2258) Bad return value from now() and current_date()

     [ https://issues.apache.org/jira/browse/PHOENIX-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Taylor resolved PHOENIX-2258.
-----------------------------------
    Resolution: Duplicate

Duplicate of PHOENIX-2611

> Bad return value from now() and current_date()
> ----------------------------------------------
>
>                 Key: PHOENIX-2258
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2258
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.5.0
>            Reporter: Kevin Liew
>              Labels: queries, query
>
> When using Avatica to send a sql query:
> {noformat}select now(){noformat}
> The results are returned as one column, one row as expected
> {noformat}"DATE '292278994-08-17 07:12:55.807'"
> 2404-04-06{noformat}
> However, the column name and row value are always incorrect (and the values never change).
> These functions do work when we select from a table.
> ie. this works as expected: {noformat}select now() from test{noformat}



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