mirror of
https://github.com/apache/impala.git
synced 2025-12-25 02:03:09 -05:00
The impala shell should process multiple queries on the command line.
This commit is contained in:
@@ -586,7 +586,7 @@ def execute_queries_non_interactive_mode(options):
|
||||
print 'Error: %s' % e
|
||||
sys.exit(1)
|
||||
elif options.query:
|
||||
queries = [options.query]
|
||||
queries = parse_query_text(options.query)
|
||||
shell = ImpalaShell(options)
|
||||
# The impalad was specified on the command line and the connection failed.
|
||||
# Return with an error, no need to process the query.
|
||||
|
||||
Reference in New Issue
Block a user