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/03/14 02:23:42 UTC
[jira] [Resolved] (PHOENIX-843) Incorrect java.sql.Types value
returned for array types in result set
[ https://issues.apache.org/jira/browse/PHOENIX-843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Taylor resolved PHOENIX-843.
----------------------------------
Resolution: Fixed
Fix Version/s: 4.0.0
3.0.0
Applied patch to 3.0, 4.0, and master. One minor modification was adding the original DATA_TYPE aliased as TYPE_ID just in case this is needed for internal usage.
Thanks for the contributions, [~gabriel.reid]!
> Incorrect java.sql.Types value returned for array types in result set
> ---------------------------------------------------------------------
>
> Key: PHOENIX-843
> URL: https://issues.apache.org/jira/browse/PHOENIX-843
> Project: Phoenix
> Issue Type: Bug
> Reporter: Gabriel Reid
> Fix For: 3.0.0, 4.0.0
>
> Attachments: PHOENIX-843.patch, PHOENIX-843_2.patch
>
>
> All array PDataTypes currently return their Phoenix-specific type constant in PDataType#getResultSetSqlType. This causes issues with external tools which aren't familiar with the Phoenix array types, so java.sql.Types.ARRAY should be returned for array types instead.
--
This message was sent by Atlassian JIRA
(v6.2#6252)