-
Notifications
You must be signed in to change notification settings - Fork 66
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
Browsing column families with LexicalUUID as key does not work #8
Comments
Thanks for the detailed bug report! I have never work with LexicalUUID myself to be honest. I might have time to check this tomorrow or next week but in the mean time, if you want to help me investigate this that would be awesome! I'm really not sure how to insert stuff in a CF with that type. |
Hi, I think officially Cassandra accepts UUID's as defined by the standard http://tools.ietf.org/html/rfc4122. I haven't checked your source code, because I'm not really familiar with PHP, but I guess you need to put some extra effort into parsing and/or entering UUID values. Another related issue that I also observed is that when a record has a column with a UUID name or value it is not being displayed correctly (some question marks and strange characters appear, probably due to a lack of encoding correction). I'll try to give it a try as a fix, though I might be slow due to my lack of PHP knowledge. |
Cool! Well, actually if you want to send me a zip of your data (or if its too big, you can just create me a sample CF with a few rows in it or something), that would probably be enough for me to fix the problem :) Thank you! |
Could it be the same issue I just filed at #18? The value with dashes was generated by java.util.UUID.randomUUID().toString(). |
I cannot browse the records of a Column Family that have a UUID as key. Trying to browse for records simply does not display anything (as if the Column Family would be empty).
I'm using XAMPP for Linux, version 1.7.7. Cassandra version is 1.0.6. The Column Family that I'm trying to browse has only the key_validation_class attribute set to LexicalUUIDType. I've inserted the records using Ruby and the Cassandra Twitter Gem.
The text was updated successfully, but these errors were encountered: