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

DESCRIBE SCHEMA should omit system keyspaces by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.0
    • None

    Description

      cqlsh DESCRIBE with all the system keyspaces is less useful than than DESCRIBE output with just the user's keyspaces - you can dump/restore schema directly this way. This seems to be a way better default to me.

      Attaching a patch that skips all the system keyspaces for regular DESCRIBE SCHEMA and adds DESCRIBE FULL SCHEMA alternative that includes system, system_auth and system_traces.

      Attachments

        1. 5880.txt
          4 kB
          Aleksey Yeschenko

        Activity

          People

            aleksey Aleksey Yeschenko
            aleksey Aleksey Yeschenko
            Aleksey Yeschenko
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: