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