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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Parser
    • None
    • 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.5.patch
          1 kB
          zhuwei
        2. HIVE-19287.4.patch
          1 kB
          zhuwei
        3. HIVE-19287.3.patch
          1 kB
          zhuwei
        4. HIVE-19287.2.patch
          1 kB
          zhuwei
        5. HIVE-19287.1.patch
          0.7 kB
          zhuwei

        Activity

          People

            qunyan zhuwei
            qunyan zhuwei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: