Mujtaba Chohan created PHOENIX-3494:
---------------------------------------

             Summary: ArrayIndexOutOfBoundsException with decimal desc key
                 Key: PHOENIX-3494
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3494
             Project: Phoenix
          Issue Type: Bug
            Reporter: Mujtaba Chohan


{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)

Reply via email to