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

Beeline does not accept comments that are preceded by spaces

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.14.0
    • Component/s: CLI
    • Labels:

      Description

      Beeline throws an error if single-line comments are indented with spaces. This works in the embedded Hive CLI.

      For example:

      SELECT
      – this is the field we want
      field
      FROM
      table;

      Error: Error while processing statement: FAILED: ParseException line 1:71 cannot recognize input near '<EOF>' '<EOF>' '<EOF>' in select clause (state=42000,code=40000)

        Attachments

        1. HIVE-6684.1.patch
          2 kB
          Jeremy Beard
        2. HIVE-6684.2.patch
          2 kB
          Jeremy Beard

          Activity

            People

            • Assignee:
              rem120 Jeremy Beard
              Reporter:
              rem120 Jeremy Beard
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: