Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5790

Query with "*" but no FROM clause should be invalid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.35.0
    • None
    • None

    Description

      The query

      SELECT *
      

      (which has a "*" indicating "all columns of all source tables" but no FROM clause to define source tables) should be invalid.

      The validator should throw "SELECT * requires a FROM clause".

      Attachments

        Activity

          People

            Unassigned Unassigned
            julianhyde Julian Hyde
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: