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

Cassandra throws SyntaxException for obsolete keywords that Thrift API permits

    XMLWordPrintableJSON

Details

    Description

      In this refactor of CFPropDefs to TableAttributes for CASSANDRA-9712, three obsolete keywords were removed:

              obsoleteKeywords.add("index_interval");
              obsoleteKeywords.add("replicate_on_write");
              obsoleteKeywords.add("populate_io_cache_on_flush");
      

       
      The Thrift API continues to reference these keywords as deprecated, so it's not clear that they are actually unsupported.

      Could we either add them back as obsoleteKeywords, or add a change log that statements with these properties will fail (There is already a changelog about "index_interval" but not the other two)? I understand that the Thrift API is totally deprecated so I don't feel strongly about cleaning it up.

      Attachments

        1. CASSANDRA-15408.patch
          0.7 kB
          Leon Zaruvinsky

        Activity

          People

            Unassigned Unassigned
            leonz Leon Zaruvinsky
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: