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

"SELECT * FROM foo LIMIT ;" does not error out

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.10
    • Legacy/CQL
    • Low

    Description

      We found out that SELECT * FROM foo LIMIT ; is unanimously accepted and executed but it should not.

      Have not dug deeper why that is possible (it's not a big issue IMO) but it is strange. Seems it doesn't parse LIMIT as K_LIMIT because otherwise it would require an int argument.

      Attachments

        Activity

          People

            ethx Thomas Boucher
            snazy Robert Stupp
            Thomas Boucher
            Robert Stupp
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: