Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

CodecNotFoundException #10

Open
erikriverson opened this issue Aug 30, 2016 · 3 comments
Open

CodecNotFoundException #10

erikriverson opened this issue Aug 30, 2016 · 3 comments

Comments

@erikriverson
Copy link

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
Copy link
Owner

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
Copy link

thornad commented Dec 19, 2016

I'm interested in this too. Any progress?

@haroldjcastillo
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants