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

cqlsh -e parsing bug

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Fix Version/s: 4.0, 4.0-alpha4
    • Component/s: Tool/cqlsh
    • Labels:
      None
    • Bug Category:
      Correctness - API / Semantic Implementation
    • Severity:
      Normal
    • Complexity:
      Normal
    • Discovered By:
      User Report
    • Platform:
      All
    • Impacts:
      None

      Description

      cqlsh -e no longer works on trunk after the introduction of python 3 support (CASSANDRA-10190). Examples below.

      $ ./bin/cqlsh -e 'select * from foo;'
      Usage: cqlsh.py [options] [host [port]]
      
      cqlsh.py: error: ‘CHANGES.txt' is not a valid port number.
      
      $ ./bin/cqlsh -e 'select id from foo;'
      Usage: cqlsh.py [options] [host [port]]
      
      cqlsh.py: error: 'from' is not a valid port number.
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jwest Jordan West
                Reporter:
                jwest Jordan West
                Authors:
                Jordan West
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: