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

Remove obsolete table/MV options from schema tables

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • None
    • None
    • None
    • All
    • None

    Description

      CASSANDRA-13910 removed the read_repair_chance and dclocal_read_repair_chance options for tables and materialized views.

      CASSANDRA-12868 made default_time_to_live illegal for materialized views.

      However the corresponding columns still exist in system_schema.tables and system_schema.views. Maybe it would make sense to remove them in Cassandra 4. Historically, obsolete options have been removed in similar cases, for example compaction_strategy_class, compaction_strategy_options and compression_parameters were present in 2.2 but removed in 3.0 (arguably there was also a major refactoring of schema tables during that transition).

      This is not a huge deal, but it would make things a bit easier for the Java driver (our metadata exposes a "client-side describe" feature, and currently we assume that any column in the schema table must be added to the CREATE TABLE statement).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              omichallat Olivier Michallat
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: