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 "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/08/01 17:25:00 UTC

[jira] [Commented] (IMPALA-1624) Allow toggling --quiet and -B settings interactively in impala-shell

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

ASF subversion and git services commented on IMPALA-1624:
---------------------------------------------------------

Commit de4bdb0bbfd9a8ef17e020cc4904e3a66d2ac298 in impala's branch refs/heads/master from nghia le
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=de4bdb0 ]

IMPALA-1624: Allow toggling and unsetting some command-line options inside impala-shell

This change provides a way to modify command-line options like -B,
--output_file and --delimiter inside impala-shell without quitting
the shell and then restarting again.
Also fixed IMPALA-7286: command "unset" does not work for shell options

Testing:
Added tests for all new options in test_shell_interactive.py
Tested on Python 2.6 and Python 2.7

Change-Id: Id8d4487c24f24806223bfd5c54336914e3afd763
Reviewed-on: http://gerrit.cloudera.org:8080/10900
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Allow toggling --quiet and -B settings interactively in impala-shell
> --------------------------------------------------------------------
>
>                 Key: IMPALA-1624
>                 URL: https://issues.apache.org/jira/browse/IMPALA-1624
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Clients
>    Affects Versions: Impala 2.1
>            Reporter: John Russell
>            Assignee: Nghia Le
>            Priority: Minor
>              Labels: ramp-up, shell, usability
>
> I find it is quite common to start impala-shell with the --quiet option, then within the same session want to turn on the extra output like the timing numbers. Or to start with the normal ASCII boxes for query output, then want to switch to comma-delimited output. Currently, this involves quitting out of the shell and restarting it, plus doing an extra USE or -d to get back to the same database as before.
> I suggest having some command in the shell to switch between quiet and verbose mode, boxed and delimited output, and set the delimiter character. Perhaps there are other similar command-line settings that would be easy to toggle while the interpreter is running.



--
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