mirror of
https://github.com/apache/impala.git
synced 2025-12-25 02:03:09 -05:00
IMPALA-6615: CTE query in Impala shell does not show query web links
This patch is to show query submitted and query progress web links in Impala shell for CTE queries. Testing: - Ran end-to-end shell tests Change-Id: Ie3352406e3b048be395a20405c8e6b911e663164 Reviewed-on: http://gerrit.cloudera.org:8080/9537 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Impala Public Jenkins
This commit is contained in:
committed by
Impala Public Jenkins
parent
b50aaff399
commit
2186c692ee
@@ -1128,7 +1128,7 @@ class ImpalaShell(object, cmd.Cmd):
|
||||
is_dml = False
|
||||
tokens = list(lexer)
|
||||
if filter(self.DML_REGEX.match, tokens): is_dml = True
|
||||
return self._execute_stmt(query, is_dml=is_dml)
|
||||
return self._execute_stmt(query, is_dml=is_dml, print_web_link=True)
|
||||
|
||||
def do_use(self, args):
|
||||
"""Executes a USE... query"""
|
||||
|
||||
Reference in New Issue
Block a user