cassandra-jdbc-driver icon indicating copy to clipboard operation
cassandra-jdbc-driver copied to clipboard

Type mapping problem

Open itsmehdi97 opened this issue 2 years ago • 0 comments

I have downloaded the jar files as mentioned in the description. I'm using the jar files for setting up jdbc plugin in logstash, and it looks it is set up property; but if I include a field of type TINYINT in my select statement, the following exception would be thrown:

Exception when executing JDBC query {:exception=>Sequel::DatabaseError, :message=>"Java::ComDatastaxOssDriverApiCoreTypeCodec::CodecNotFoundException: Codec not found for requested operation: [TINYINT <-> java.lang.Short]", :cause=>"#<Java::ComDatastaxOssDriverApiCoreTypeCodec::CodecNotFoundException: Codec not found for requested operation: [TINYINT <-> java.lang.Short]>"}

Is it a bug or I'm missing something?

itsmehdi97 avatar Apr 11 '23 13:04 itsmehdi97