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

ParseDriver is sensitive to commented semicolon at end of line

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Bug
    • None
    • None
    • None
    • None

    Description

      executing:

      select 1 + -- semicolon at EOL >> ;
      1;
      

      results in:

      org.apache.hadoop.hive.ql.parse.ParseException: line 3:34 cannot recognize input near '<EOF>' '<EOF>' '<EOF>' in expression specification
              at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:207)
      ...
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kgyrtkirk Zoltan Haindrich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: