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 "Gabor Kaszab (Jira)" <ji...@apache.org> on 2019/10/10 09:49:00 UTC
[jira] [Created] (IMPALA-9036) Unable to CTRL+C an unfinished query
in impala-shell
Gabor Kaszab created IMPALA-9036:
------------------------------------
Summary: Unable to CTRL+C an unfinished query in impala-shell
Key: IMPALA-9036
URL: https://issues.apache.org/jira/browse/IMPALA-9036
Project: IMPALA
Issue Type: Bug
Components: Infrastructure
Reporter: Gabor Kaszab
When the query prompts after a line break it doesn't accept CTRL+C to cancel typing that query. Instead it waits for the user to terminate the query.
{code:java}
default> select * from random_table
> ^C
> ^C
> ^C
> ^C
> ^C
> ^C
> ;
{code}
In this case it's easy to terminate as only a ';' is needed but if the user messes up a complicated query involving multiple single qouotes, double quotes and their escaped versions then it might be difficult to find out what is missing and they won't be able to simply CTRL+C and start over.
Note, without a line break in the query CTRL+C works fine:
{code:java}
default> select * from random_table^C
default>
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org