phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (PHOENIX-3494) ArrayIndexOutOfBoundsException with decimal desc key
Date Fri, 18 Nov 2016 00:08:58 GMT

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

James Taylor reassigned PHOENIX-3494:
-------------------------------------

    Assignee: James Taylor

> ArrayIndexOutOfBoundsException with decimal desc key
> ----------------------------------------------------
>
>                 Key: PHOENIX-3494
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3494
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.9.0
>            Reporter: Mujtaba Chohan
>            Assignee: James Taylor
>         Attachments: PHOENIX-3494-test.patch, PHOENIX-3494.patch
>
>
> {noformat}
> java.lang.ArrayIndexOutOfBoundsException: 1
> 	at org.apache.phoenix.schema.types.PDataType.getDecimalPrecisionAndScale(PDataType.java:717)
> 	at org.apache.phoenix.schema.types.PDecimal.coerceBytes(PDecimal.java:355)
> 	at org.apache.phoenix.schema.types.PDataType.coerceBytes(PDataType.java:822)
> 	at org.apache.phoenix.schema.types.PDecimal.isSizeCompatible(PDecimal.java:324)
> 	at org.apache.phoenix.schema.PTableImpl.newKey(PTableImpl.java:675)
> 	at org.apache.phoenix.compile.UpsertCompiler.setValues(UpsertCompiler.java:149)
> 	at org.apache.phoenix.compile.UpsertCompiler.access$3(UpsertCompiler.java:116)
> 	at org.apache.phoenix.compile.UpsertCompiler$4.execute(UpsertCompiler.java:1046)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$3.call(PhoenixStatement.java:355)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$3.call(PhoenixStatement.java:1)
> 	at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:337)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:1459)
> 	at org.apache.phoenix.end2end.UpsertValuesIT.testUpsertValuesWithDescDecimal(UpsertValuesIT.java:177)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message