You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Alan Jackoway (JIRA)" <ji...@apache.org> on 2018/05/16 19:43:00 UTC

[jira] [Commented] (IMPALA-7042) Unmatched quotes in comments confuse shell

    [ https://issues.apache.org/jira/browse/IMPALA-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16477969#comment-16477969 ] 

Alan Jackoway commented on IMPALA-7042:
---------------------------------------

Also similar: IMPALA-2751

> Unmatched quotes in comments confuse shell
> ------------------------------------------
>
>                 Key: IMPALA-7042
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7042
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 2.12.0
>            Reporter: Alan Jackoway
>            Priority: Major
>
> This jira is really similar to IMPALA-696 and IMPALA-2803 each of which claim to be fixed, but this is still happening to me on 2.12.0.
> Basically the issue is that this command requires you to close the quote in impala-shell:
> {code:sql}
> > -- Alan's test query
> > select 1 + 1;
> > ';
> {code}
> Then it runs after closing the quote on the third line.
> With a double quote, the behavior is even worse:
> {code:sql}
> > -- Alan"s test query
> > select 1 + 1;
> > ";
> > ";
> {code}
> I haven't found any way to convince impala the quote is closed and run the query with a double quote in the comment. Fortunately unmatched double quotes in comments should be rare. Unmatched single quotes come up in our comments fairly frequently, which is how I found this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org