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`
      ...
      

        Activity

        Hide
        julianhyde Julian Hyde added a comment -

        Fixed in 1.8.0.

        Show
        julianhyde Julian Hyde added a comment - Fixed in 1.8.0.
        Hide
        michaelmior Michael Mior added a comment -

        Fixed in c07f33a.

        Show
        michaelmior Michael Mior added a comment - Fixed in c07f33a .
        Hide
        julianhyde Julian Hyde added a comment -

        Michael Mior, Thanks for volunteering. I have added you to JIRA permissions as a committer. You should be able to assign this bug (and other bugs) to yourself.

        Show
        julianhyde Julian Hyde added a comment - Michael Mior , Thanks for volunteering. I have added you to JIRA permissions as a committer. You should be able to assign this bug (and other bugs) to yourself.
        Hide
        michaelmior Michael Mior added a comment -

        Thanks for reporting! I'll take this one Julian Hyde (I don't think I can assign myself). Shouldn't be too difficult of a fix.

        Show
        michaelmior Michael Mior added a comment - Thanks for reporting! I'll take this one Julian Hyde (I don't think I can assign myself). Shouldn't be too difficult of a fix.

          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:

              Development