[jira] [Commented] (IGNITE-5779) Incorrect mapping of smallint cassandra type.
[ https://issues.apache.org/jira/browse/IGNITE-5779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352069#comment-16352069 ] ASF GitHub Bot commented on IGNITE-5779: Github user asfgit closed the pull request at: https://github.com/apache/ignite/pull/3471 > 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 >Assignee: Igor Rudyak >Priority: Major > > 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 (v7.6.3#76005)
[jira] [Commented] (IGNITE-5779) Incorrect mapping of smallint cassandra type.
[ https://issues.apache.org/jira/browse/IGNITE-5779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352064#comment-16352064 ] ASF GitHub Bot commented on IGNITE-5779: GitHub user irudyak opened a pull request: https://github.com/apache/ignite/pull/3471 IGNITE-5779 Incorrect mapping of smallint cassandra type. You can merge this pull request into a Git repository by running: $ git pull https://github.com/irudyak/ignite ignite-5779 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/3471.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3471 commit fdbfb67b47659b17755b2e3c1086446d6f351ec9 Author: Igor Rudyak Date: 2018-02-05T05:55:12Z IGNITE-5779 > 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 >Assignee: Igor Rudyak >Priority: Major > > 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 (v7.6.3#76005)
[jira] [Commented] (IGNITE-5779) Incorrect mapping of smallint cassandra type.
[ https://issues.apache.org/jira/browse/IGNITE-5779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345534#comment-16345534 ] Igor Rudyak commented on IGNITE-5779: - [~amashenkov] thanks for letting me know. I'll look at it. > 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 >Priority: Major > > 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 (v7.6.3#76005)
[jira] [Commented] (IGNITE-5779) Incorrect mapping of smallint cassandra type.
[ https://issues.apache.org/jira/browse/IGNITE-5779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16091785#comment-16091785 ] Andrew Mashenkov commented on IGNITE-5779: -- [~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)