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

Beeline ignores the command that follows a semicolon and comment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • None
    • None

    Description

      Beeline ignores the next line/command that follows a command with semicolon and comments.

      Example 1:
      select *
      from table1; – comments
      select * from table2;

      In this case, only the first command is executed.. second command "select * from table2" is not executed.

      ------

      Example 2:
      select *
      from table1; – comments
      select * from table2;
      select * from table3;
      In this case, first command and third command is executed. second command "select * from table2" is not executed.

      Attachments

        1. HIVE-13864.5.patch
          9 kB
          Yongzhi Chen
        2. HIVE-13864.4.patch
          9 kB
          Yongzhi Chen
        3. HIVE-13864.3.patch
          8 kB
          Yongzhi Chen
        4. HIVE-13864.02.patch
          4 kB
          Reuben Kuhnert
        5. HIVE-13864.01.patch
          3 kB
          Reuben Kuhnert

        Issue Links

          Activity

            People

              ychena Yongzhi Chen
              manickmuthu Muthu Manickam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: