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

beeline fails when executing multiple-line queries with trailing spaces

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0, 0.13.1
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: