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

Beeline does not accept comments that are preceded by spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.14.0
    • CLI

    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

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

            Dates

              Created:
              Updated:
              Resolved: