Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gem not operating with Cassandra 2.0.4 #65

Open
cjmendoza opened this issue Jan 21, 2014 · 2 comments
Open

gem not operating with Cassandra 2.0.4 #65

cjmendoza opened this issue Jan 21, 2014 · 2 comments

Comments

@cjmendoza
Copy link

I am getting garbled info:
Definition:
select * from users
... ;

user_id | fname | lname
---------+-------+-------
1745 | john | smith
1744 | john | doe
1746 | john | smith

Using cassandra-cql I get:
{"user_id"=>1745, "\x00\x00\x00"=>"", "\x00\x05fname\x00"=>"john", "\x00\x05lname\x00"=>"smith"}
{"user_id"=>1744, "\x00\x00\x00"=>"", "\x00\x05fname\x00"=>"john", "\x00\x05lname\x00"=>"doe"}
{"user_id"=>1746, "\x00\x00\x00"=>"", "\x00\x05fname\x00"=>"john", "\x00\x05lname\x00"=>"smith"}

Trying to store I get error saying it cannot convert binary information.

@Ghassan
Copy link

Ghassan commented Jan 31, 2014

me too. I am getting the same error. Any pointers on how to fix this please?

@cjmendoza
Copy link
Author

I found out you need to use the gem cql-rb which is for version 2 of
cassandra. Works perfect in Ubuntu 12.04

On Fri, Jan 31, 2014 at 2:11 PM, Ghassan A. notifications@github.comwrote:

me too. I am getting the same error. Any pointers on how to fix this
please?

Reply to this email directly or view it on GitHubhttps://github.com//issues/65#issuecomment-33832427
.

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

No branches or pull requests

2 participants