[
https://issues.apache.org/jira/browse/PHOENIX-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907481#comment-13907481
]
Bruno Dumon commented on PHOENIX-64:
------------------------------------
No, data migration is not yet an issue for us.
BTW, are there any short-term plans on supporting arrays in the csv loader,
thus basically implementing PDataType.toObject(String) for arrays?
> 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.1.5#6160)