impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tianyi Wang (Code Review)" <ger...@cloudera.org>
Subject [Impala-ASF-CR] Impala-992: Rerun past queries from history in shell
Date Tue, 15 Aug 2017 17:37:46 GMT
Tianyi Wang has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/7674

Change subject: Impala-992: Rerun past queries from history in shell
......................................................................

Impala-992: Rerun past queries from history in shell

This patch adds a new command "rerun" and shortcut "@" to impala-shell.
User can rerun a certain query by its index given by history command.
For example, "@1;" or "rerun 1;" reruns the first query shown in history
command. History index is 1-based. The rerun command itself won't appear
in history.

Change-Id: Ifc28e8ce07845343267224c3b9ccb71b29a524d2
---
M shell/impala_shell.py
1 file changed, 48 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/74/7674/2
-- 
To view, visit http://gerrit.cloudera.org:8080/7674
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc28e8ce07845343267224c3b9ccb71b29a524d2
Gerrit-PatchSet: 2
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Tianyi Wang <twang@cloudera.com>

Mime
View raw message