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

Move cqlsh syntax rules into separate module and allow easier customization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.10
    • Legacy/Tools
    • None

    Description

      At the moment the entire cqlsh syntax rules are defined in one single field in https://github.com/apache/cassandra/blob/13b7362494c4c0ff3c5ce80b8e7ee7fe64d65785/bin/cqlsh.py#L313-L426.

      It would be easier if every syntax rule would be stored in its own field for easier extensibility / customizability.

      It probably also makes sense to move the relevant cqlsh syntax rules and syntax completer into a separate cqlshhandling.py module because cqlsh.py in itself is huge.

      Attachments

        Activity

          People

            eduard.tudenhoefner Eduard Tudenhoefner
            eduard.tudenhoefner Eduard Tudenhoefner
            Eduard Tudenhoefner
            Stefania Alborghetti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: