You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Yongzhi Chen (JIRA)" <ji...@apache.org> on 2017/02/22 17:50:44 UTC
[jira] [Updated] (HIVE-13864) Beeline ignores the command that
follows a semicolon and comment
[ https://issues.apache.org/jira/browse/HIVE-13864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yongzhi Chen updated HIVE-13864:
--------------------------------
Attachment: HIVE-13864.3.patch
Patch 3 to handle comments in multipleline commands and add more tests
> Beeline ignores the command that follows a semicolon and comment
> ----------------------------------------------------------------
>
> Key: HIVE-13864
> URL: https://issues.apache.org/jira/browse/HIVE-13864
> Project: Hive
> Issue Type: Bug
> Reporter: Muthu Manickam
> Assignee: Yongzhi Chen
> Attachments: HIVE-13864.01.patch, HIVE-13864.02.patch, HIVE-13864.3.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)