You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/06/12 21:39:01 UTC
[jira] [Resolved] (PHOENIX-1037) Implement getResultSetSqlType for
UNSIGNED date/time types
[ https://issues.apache.org/jira/browse/PHOENIX-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabriel Reid resolved PHOENIX-1037.
-----------------------------------
Resolution: Fixed
Fix Version/s: 4.1
3.1
5.0.0
Pushed to 3.0, 4.0, and master branches
> Implement getResultSetSqlType for UNSIGNED date/time types
> ----------------------------------------------------------
>
> Key: PHOENIX-1037
> URL: https://issues.apache.org/jira/browse/PHOENIX-1037
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 3.0.0, 4.0.0, 5.0.0
> Reporter: James Taylor
> Assignee: Gabriel Reid
> Fix For: 5.0.0, 3.1, 4.1
>
> Attachments: PHOENIX-1037.patch
>
>
> Implement getResultSetSqlType for UNSIGNED date/time types returning the regular Types int so that SQL clients display values correctly.
> For example:
> {code}
> UNSIGNED_DATE("UNSIGNED_DATE", 19, Date.class, new UnsignedDateCodec()) {
> @Override
> public int getResultSetSqlType() {
> return Types.DATE;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)