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

wildcard prepared statements are incorrect after a column is added to the table

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.1.3
    • Component/s: None
    • Labels:
      None
    • Severity:
      Low
    • Impacts:
      Clients

      Description

      1. Prepare a statement with a wildcard in the select clause.
      2. Alter the table - add a column
      3. execute the prepared statement

      Expected result - get all the columns including the new column
      Actual result - get the columns except the new column
      Attached a test using cassandra-unit

        Attachments

        1. 7910-2.1.txt
          16 kB
          Tom Hobbs
        2. 7910-trunk.txt
          6 kB
          Tom Hobbs
        3. PreparedStatementAfterAddColumnTest.java
          1 kB
          Oded Peer

          Issue Links

            Activity

              People

              • Assignee:
                thobbs Tom Hobbs
                Reporter:
                odpeer Oded Peer
                Authors:
                Tom Hobbs
                Reviewers:
                Aleksey Yeschenko
              • Votes:
                2 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: