Giter Site home page Giter Site logo

Comments (4)

sebgiroux avatar sebgiroux commented on August 22, 2024

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.

from cassandra-cluster-admin.

victorblaga avatar victorblaga commented on August 22, 2024

Hi,

I think officially Cassandra accepts UUID's as defined by the standard http://tools.ietf.org/html/rfc4122.
According to the Cassandra Wiki, Version 1 UUID is used for TimeUUIDType and one can enter any version of UUID for LexicalUUIDType values (http://en.wikipedia.org/wiki/Universally_Unique_Identifier).

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.

from cassandra-cluster-admin.

sebgiroux avatar sebgiroux commented on August 22, 2024

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!

from cassandra-cluster-admin.

jovekuang avatar jovekuang commented on August 22, 2024

Could it be the same issue I just filed at #18?

The value with dashes was generated by java.util.UUID.randomUUID().toString().

from cassandra-cluster-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.