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

parse error with semicolon in comment which starts with whitespace in file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Parser
    • Labels:
      None
    • Environment:

      hive 2.2.1

      Description

      It will get error when hive query written in file look like this:

      select col

        --this is; an example

      from db.table

      limit 1;

       

        Attachments

        1. HIVE-19287.1.patch
          0.7 kB
          zhuwei
        2. HIVE-19287.2.patch
          1 kB
          zhuwei
        3. HIVE-19287.3.patch
          1 kB
          zhuwei
        4. HIVE-19287.4.patch
          1 kB
          zhuwei
        5. HIVE-19287.5.patch
          1 kB
          zhuwei

          Activity

            People

            • Assignee:
              qunyan zhuwei
              Reporter:
              qunyan zhuwei
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: