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

cqlsh -e parsing bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 4.0-alpha4, 4.0
    • Tool/cqlsh
    • None
    • Correctness - API / Semantic Implementation
    • Normal
    • Normal
    • User Report
    • All
    • 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

              jwest Jordan West
              jwest Jordan West
              Jordan West
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: