[ 
https://issues.apache.org/jira/browse/PHOENIX-843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13932670#comment-13932670
 ] 

James Taylor commented on PHOENIX-843:
--------------------------------------

How do the external tools know the element type? That's one of the reasons we 
muck with the type ID.

> 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
>         Attachments: PHOENIX-843.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)

Reply via email to