[ 
https://issues.apache.org/jira/browse/PHOENIX-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Taylor resolved PHOENIX-64.
---------------------------------

    Resolution: Fixed

I believe this is fixed, but if not, please reopen [~ram_krish]

> Exception decoding single-element varchar array
> -----------------------------------------------
>
>                 Key: PHOENIX-64
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-64
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Bruno Dumon
>            Assignee: ramkrishna.s.vasudevan
>         Attachments: phoenix-64-patch.txt
>
>
> With current 3.0.0-SNAPSHOT, trying to read an array (using 
> ResultSet.getArray) of type varchar which contains a single element gives an 
> exception:
> {noformat}
> java.lang.NegativeArraySizeException
>       at 
> org.apache.phoenix.schema.PArrayDataType.createPhoenixArray(PArrayDataType.java:341)
> {noformat}
> The problem dissappears for arrays of size > 1.
> I will attach a fix and test.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to