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

Refactor: remove CFDefinition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1 beta1
    • Legacy/CQL
    • None

    Description

      While writing CQL3 initially, we added CFDefinition to be a CQL3-friendly version of CFMetaData. However, a number of changes have it redundant. The infos of CFDefinition are now in CFMetaData in pretty much the same form and in particular CFDefinition.Name is now basically a copy of ColumnDefinition. This is not only useless, but it is confusing too: sometimes the CQL3 code uses ColumnDefinition because it has too, but more often it uses CFDefinition.Name and both use diferent vocabulary even though they are the exact same thing.

      So this ticket propose to remove CFDefinition and CFDefinition.Name since they are not useful anymore and this clean things up.

      Attachments

        1. 0001-Remove-CFDefinition.txt
          281 kB
          Sylvain Lebresne
        2. 0002-Unit-tests-updates.txt
          20 kB
          Sylvain Lebresne
        3. 0003-Fix-CFDefinition.name-comparisons.txt
          4 kB
          David Brosius
        4. 0004-Fix-ColumnIdentifier-Map_Lookup.txt
          2 kB
          David Brosius

        Activity

          People

            slebresne Sylvain Lebresne
            slebresne Sylvain Lebresne
            Sylvain Lebresne
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: