Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-8613

Regression in mixed single and multi-column relation support

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.0.15, 2.1.5
    • Component/s: Legacy/CQL
    • Labels:
      None
    • Severity:
      Normal
    • Since Version:

      Description

      In 2.0.6 through 2.0.8, a query like the following was supported:

      SELECT * FROM mytable WHERE clustering_0 = ? AND (clustering_1, clustering_2) > (?, ?)
      

      However, after CASSANDRA-6875, you'll get the following error:

      Clustering columns may not be skipped in multi-column relations. They should appear in the PRIMARY KEY order. Got (c, d) > (0, 0)
      

        Attachments

        1. 8613-2.0-v2.txt
          89 kB
          Tom Hobbs
        2. 8613-2.1-v2.txt
          95 kB
          Tom Hobbs
        3. 8613-trunk-v2.txt
          172 kB
          Tom Hobbs
        4. CASSANDRA-8613-2.0.txt
          89 kB
          Benjamin Lerer
        5. CASSANDRA-8613-2.1.txt
          92 kB
          Benjamin Lerer
        6. CASSANDRA-8613-trunk.txt
          173 kB
          Benjamin Lerer

          Activity

            People

            • Assignee:
              blerer Benjamin Lerer
              Reporter:
              thobbs Tom Hobbs
              Authors:
              Benjamin Lerer
              Reviewers:
              Tom Hobbs
              Tester:
              Shawn Kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: