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

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1.3
    • None
    • None
    • Low
    • 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. PreparedStatementAfterAddColumnTest.java
          1 kB
          Oded Peer
        2. 7910-2.1.txt
          16 kB
          Tom Hobbs
        3. 7910-trunk.txt
          6 kB
          Tom Hobbs

        Issue Links

          Activity

            People

              thobbs Tom Hobbs
              odpeer Oded Peer
              Tom Hobbs
              Aleksey Yeschenko
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: