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

Beeline should support set command after bracketed comments

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            rtrivedi12 Riju Trivedi

            Dates

              Created:
              Updated:

              Slack

                Issue deployment