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

drop column statement should not initialize timestamp because of statement cache

    XMLWordPrintableJSON

    Details

      Description

      When executing drop-column query without timestamp, AlterTableStatement#Raw initializes a default timestamp and then the prepared statement is cached. The same timestamp will be reused for the same drop-column query.  (related to CASSANDRA-13426)

       

      The fix is to use NULL timestamp to indicate: using statement execution time instead.

       

      patch: https://github.com/jasonstack/cassandra/commits/fix-drop-column-timestamp

        Attachments

          Activity

            People

            • Assignee:
              jasonstack ZhaoYang
              Reporter:
              jasonstack ZhaoYang
              Authors:
              ZhaoYang
              Reviewers:
              Benjamin Lerer
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: