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

Beeline does not accept comments at end of line

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 1.1.0
    • CLI

    Description

      Beeline fails to read queries where lines have comments at the end. This works in the embedded Hive CLI.

      Example:

      SELECT
      1 – this is a comment about this value
      FROM
      table;

      Error: Error while processing statement: FAILED: ParseException line 1:36 mismatched input '<EOF>' expecting FROM near '1' in from clause (state=42000,code=40000)

      Attachments

        1. HIVE-6683.1.patch
          0.6 kB
          Sergio Peña
        2. HIVE-6683.1.patch
          0.6 kB
          Sergio Peña

        Activity

          People

            spena Sergio Peña
            rem120 Jeremy Beard
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: