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

Regression in mixed single and multi-column relation support

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0.15, 2.1.5
    • Legacy/CQL
    • None
    • Normal

    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. CASSANDRA-8613-2.0.txt
          89 kB
          Benjamin Lerer
        2. CASSANDRA-8613-2.1.txt
          92 kB
          Benjamin Lerer
        3. CASSANDRA-8613-trunk.txt
          173 kB
          Benjamin Lerer
        4. 8613-2.0-v2.txt
          89 kB
          Tom Hobbs
        5. 8613-2.1-v2.txt
          95 kB
          Tom Hobbs
        6. 8613-trunk-v2.txt
          172 kB
          Tom Hobbs

        Activity

          People

            blerer Benjamin Lerer
            thobbs Tom Hobbs
            Benjamin Lerer
            Tom Hobbs
            Shawn Kumar Shawn Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: