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

Allow system variables to be retrieved and set via CQL

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Won't Do
    • 4.1-alpha1, 4.1
    • None
    • None

    Description

      Other database systems allow system variables to be retrieved and set via their query interface:

      https://dev.mysql.com/doc/refman/5.1/en/set-statement.html

      http://www.postgresql.org/docs/8.2/static/sql-set.html

      Proposing the following CQL syntax for retrieving variables:

      SHOW VARIABLES;
      SHOW VARIABLE 'variable';

      Proposing the following CQL syntax for setting variables:

      SET VARIABLE 'variable'='value' ;

      The output of SHOW VARIABLES; will be a superset of the actual values that can be set with SET VARIABLE, as not all values are safe to change after starting the node.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jjirsa Jeff Jirsa Assign to me
            jjirsa Jeff Jirsa
            Jeff Jirsa
            Votes:
            3 Vote for this issue
            Watchers:
            16 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment