hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongzhi Chen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-13864) Beeline ignores the command that follows a semicolon and comment
Date Thu, 23 Feb 2017 17:52:44 GMT

     [ 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.4.patch

Patch 4, More fixes after review:
Handle quoted string in multiple-lines. Manually tested with beeline.

> 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, HIVE-13864.4.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)

Mime
View raw message