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

Beeline should support set command after bracketed comments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Beeline
    • None

    Description

      Using beeline, hive fails to execute the below statement. 

      /* Bracketed coments */
      set hive.variable.substitute=true;
      select 1;
      
      Error: Error while compiling statement: FAILED: ParseException line 2:4 cannot recognize input near 'set' 'hive' '.' in statement (state=42000,code=40000)

      SELECT/DDL/DML statements are supported after bracketed comments but set does not work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rtrivedi12 Riju Trivedi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: