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

select keyspace_name from system.schema_keyspaces

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.2.0
    • Component/s: Legacy/CQL
    • Labels:
      None

      Description

      It is currently possible to "describe tables" to list the tables in the current keyspace, or list all tables in all keyspaces if you are not currently in a keyspace. It is also possible to enumerate the keyspaces with a cql command to select from the system.schema_columnfamilies. There should be a simple "describe keyspaces" command that enumerates just the keyspaces and is syntactic sugar for "select keyspace name from schema_keyspaces".

        Attachments

        1. 5060.txt
          2 kB
          Aleksey Yeschenko

          Activity

            People

            • Assignee:
              aleksey Aleksey Yeschenko
              Reporter:
              tupshin Tupshin Harper
              Authors:
              Aleksey Yeschenko
              Reviewers:
              Brandon Williams
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: