Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1210

Cassandra uuid filtering does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.0
    • 1.8.0
    • cassandra-adapter
    • None

    Description

      It looks like the syntax for sending a uuid to cassandra is something like this

      select key from timetest where key=7daecb80-29b0-11e3-92ec-e291eb9d325e
      

      Which is a bare identifier, unquoted. So any filtering based on uuid's doesn't work. You get something like this:

      Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Invalid STRING constant (a594f989-8e73-4145-b9fb-83bd565f9995) for "tweet_id" of type uuid`
      ...
      

      Attachments

        Activity

          People

            mmior Michael Mior
            dispalt Dan Di Spaltro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: