[ https://issues.apache.org/jira/browse/IGNITE-5779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16091785#comment-16091785 ]
Andrew Mashenkov edited comment on IGNITE-5779 at 7/18/17 4:26 PM: ------------------------------------------------------------------- [~irudyak], Would you please take a look at this? Seems fix is trivial. Is there any reason to have a mapping Short<\->INT instead of Short<->SMALLINT ? was (Author: amashenkov): [~irudyak], Would you please take a look at this? Seems fix is trivial. Is there any reason to have a mapping Short<->INT instead of Short<->SMALLINT ? > Incorrect mapping of smallint cassandra type. > --------------------------------------------- > > Key: IGNITE-5779 > URL: https://issues.apache.org/jira/browse/IGNITE-5779 > Project: Ignite > Issue Type: Bug > Components: cassandra > Affects Versions: 2.0 > Reporter: Andrew Mashenkov > Fix For: 2.2 > > > Looks like we map Java SHORT types to Cassandra INT type. > This causes an exception if user uses Cassandra SMALLINT type: > CodecNotFoundException: [smallint <-> java.lang.Integer] with Cassandra > See discussion on userlist for details. > > [1] > http://apache-ignite-users.70518.x6.nabble.com/CodecNotFoundException-smallint-lt-gt-java-lang-Integer-with-Cassandra-td14938.html -- This message was sent by Atlassian JIRA (v6.4.14#64029)