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

Drop/Add Column Pre-existing Data Inconsistency

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      If we drop a column, any data that is compacted before we add a column with the same name (and compatible type) will be lost, but any data that was not compacted will continue to be returned. This seems problematic - surely we should consider all data prior to a Drop to be lost? Re-adding a column of the same name should reset the column’s contents?

      This would also permit us to not worry about the types being consistent in the case of a dropped column (only alter column need worry about this)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              benedict Benedict Elliott Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: