[
https://issues.apache.org/jira/browse/PHOENIX-788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Taylor resolved PHOENIX-788.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 4.0.0)
(was: 3.0.0)
4.1
3.1
> Support cast from/to DATE/TIME/TIMESTAMP to/from LONG/UNSIGNED_LONG
> -------------------------------------------------------------------
>
> Key: PHOENIX-788
> URL: https://issues.apache.org/jira/browse/PHOENIX-788
> Project: Phoenix
> Issue Type: Task
> Affects Versions: 3.0-Release
> Reporter: James Taylor
> Assignee: James Taylor
> Fix For: 5.0.0, 3.1, 4.1
>
>
> We should support a manual cast between LONG and DATE/TIME/TIMESTAMP, for
> example:
> SELECT CAST(epoch_value AS DATE) FROM t;
> SELECT CAST(date AS BIGINT) FROM t;
> Requested by Tagged on the mailing list.
--
This message was sent by Atlassian JIRA
(v6.2#6252)