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

Cassandra uuid filtering does not work

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.8.0
    • Component/s: cassandra
    • Labels:
      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

            • Assignee:
              michaelmior Michael Mior
              Reporter:
              dispalt Dan Di Spaltro
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: