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

Commented-out lines that end in a semicolon cause an error.

    XMLWordPrintableJSON

Details

    Description

      Commented-out lines that end in a semicolon cause an error.

      For example:

      /*

      describe keyspaces;

      */

       

      This produces an error:

      SyntaxException: line 2:22 no viable alternative at input '<EOF> (...*
      describe keyspaces;...)

       

      It works as expected if you use syntax:

      – describe keyspaces;

       

      Environment:

      python:3.7.7-slim-stretch (docker image)

       

      I found that this was first seen here, and was patched, but the bug appears to have resurfaced:

      https://issues.apache.org/jira/browse/CASSANDRA-2488

      Attachments

        1. cqlsh.png
          35 kB
          null

        Issue Links

          Activity

            People

              RensGroothuijsen Rens Groothuijsen
              null- null
              Rens Groothuijsen
              Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h