The impala shell should process multiple queries on the command line.

This commit is contained in:
ishaan
2013-02-20 19:39:52 -08:00
committed by Henry Robinson
parent 84e25d2ab3
commit d7a684de3f

View File

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