Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-8182

beeline fails when executing multiple-line queries with trailing spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.12.0, 0.13.1
    • 1.1.0
    • None
    • None

    Description

      As title indicates, when executing a multi-line query with trailing spaces, beeline reports syntax error:
      Error: Error while compiling statement: FAILED: ParseException line 1:76 extraneous input ';' expecting EOF near '<EOF>' (state=42000,code=40000)
      If put this query in one single line, beeline succeeds to execute it.

      Attachments

        1. HIVE-8182.2.patch
          0.5 kB
          Sergio Peña
        2. HIVE-8182.1.patch
          0.6 kB
          Sergio Peña
        3. HIVE-8181.1.patch
          0.6 kB
          Sergio Peña

        Activity

          People

            spena Sergio Peña
            ychena Yongzhi Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: