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 2014/06/09 20:03:04 UTC
[jira] [Commented] (PHOENIX-1037) Implement getResultSetSqlType for
UNSIGNED date/time types
[ https://issues.apache.org/jira/browse/PHOENIX-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025460#comment-14025460 ]
James Taylor commented on PHOENIX-1037:
---------------------------------------
[~gabriel.reid] - can I ask you to implement this please?
> 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
>
> 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)