adejanovski / cassandra-jdbc-wrapper

A JDBC wrapper for the Datastax Java Driver for Cassandra
Apache License 2.0
53 stars 36 forks source link

CodecNotFoundException #10

Open erikriverson opened 8 years ago

erikriverson commented 8 years ago

I'm using this driver with RJDBC (https://cran.r-project.org/web/packages/RJDBC/index.html), and am able to successfully connect to my local Cassandra instance and retrieve a list of tables. When I try to run a query, I get

com.datastax.driver.core.exceptions.CodecNotFoundException: Codec not found for requested operation: [int <-> java.lang.Double]
adejanovski commented 8 years ago

Actually I haven't added a codec for int -> Double. Quick fix would be to provide a float instead of an int in your query. Long fix is me adding a codec for that, which should be doable in the coming days.

thornad commented 7 years ago

I'm interested in this too. Any progress?

haroldjcastillo commented 7 years ago

But, Before pass the value you can do the cast, right?