[ 
https://issues.apache.org/jira/browse/ATLAS-830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Muthu Manickam updated ATLAS-830:
---------------------------------
    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.

  was:
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 third command is executed. second command "select * 
from table2" is not executed.


> Beeline ignores the command that follows a semicolon and comment
> ----------------------------------------------------------------
>
>                 Key: ATLAS-830
>                 URL: https://issues.apache.org/jira/browse/ATLAS-830
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Muthu Manickam
>
> 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.4#6332)

Reply via email to