Commit Graph

270 Commits

Author SHA1 Message Date
Henry Robinson
cee6330657 Fix shell syntax error 2014-01-08 10:50:51 -08:00
ishaan
26684b07d7 Introduce output formatting for the shell. 2014-01-08 10:50:51 -08:00
Alex Behm
937a44f9f8 IMPALA-68: Support Values() statement. 2014-01-08 10:50:31 -08:00
ishaan
421378c007 Turn off over-zealous formatting in the shell. 2014-01-08 10:50:07 -08:00
Lenni Kuff
ff2ae70b27 IMPALA-232: Clarify Impala shell's "version" cmd returns the shell version and also get server version 2014-01-08 10:50:06 -08:00
ishaan
193219e718 IMPALA-261 The shell only convert the first literal in a command to lowercase 2014-01-08 10:50:04 -08:00
ishaan
1656e779b9 Improved comment parsing in query file passed to the shell 2014-01-08 10:50:03 -08:00
ishaan
b9d76b5606 IMPALA-243: Ctrl C should not interrupt a system while in an rpc in the shell 2014-01-08 10:50:02 -08:00
Lenni Kuff
9559f2a3d9 IMP-861: Enable refreshing a specific table name 2014-01-08 10:50:01 -08:00
ishaan
1260c6fc3e IMPALA-247 Navitaging shell history should not output unescaped new lines. 2014-01-08 10:49:58 -08:00
ishaan
baf5e1d50c IMPALA-121 The shell should print an error and exit when unknown command line arguments are detected. 2014-01-08 10:49:57 -08:00
ishaan
aa08c56c91 IMPALA-195: The shell should not mention its refreshing the catalog if --quiet is supplied. 2014-01-08 10:49:55 -08:00
ishaan
885438dc4b Implicit commands run by the shell should be delimited properly 2014-01-08 10:49:50 -08:00
Henry Robinson
9e8fe07059 IMPALA-253: Return query errors in CloseInsertInternal 2014-01-08 10:49:49 -08:00
ishaan
a3ae4e3252 The shell should inform the user that a command is incomplete by changing its prompt. 2014-01-08 10:49:43 -08:00
ishaan
3093006ca9 Non-interactive mode in the shell should work with multi-line queries enabled. 2014-01-08 10:49:39 -08:00
ishaan
3567935f11 IMPALA-78 The shell should support multiline commands. 2014-01-08 10:49:38 -08:00
Lenni Kuff
d3375d4aec Amend commit: IMPALA-215: DDL commands stay in the in flight query log
Missed a line when pushing the earlier change.
2014-01-08 10:49:37 -08:00
Lenni Kuff
d0c08eb8d6 IMPALA-215: DDL commands stay in the in flight query log 2014-01-08 10:49:35 -08:00
ishaan
2773f00c21 IMPALA-205 The shell should default to the FQDN of the localhost is no hostname is specified. 2014-01-08 10:49:32 -08:00
ishaan
c85acf424d IMPALA-209 desc <tablename> should be the same as describe <tablename> in the shell. 2014-01-08 10:49:30 -08:00
Lenni Kuff
8d1521ca80 Add option to impala-shell to save query results to a file 2014-01-08 10:49:29 -08:00
Lenni Kuff
1fb72fbc73 IMPALA-156: Support core 'ALTER TABLE' DDL command
This patch adds support for
- ALTER TABLE ADD|REPLACE COLUMNS
- ALTER TABLE DROP COLUMN
- ALTER TABLE ADD/DROP PARTITION
- ALTER TABLE SET FILEFORMAT
- ALTER TABLE SET LOCATION
- ALTER TABLE RENAME
2014-01-08 10:49:14 -08:00
Lenni Kuff
08beacb5f3 Fix issue building default query option values in the shell when not connected 2014-01-08 10:49:14 -08:00
ishaan
e0de4d25b9 IMPALA-164 The shell should not set query options not set by the user explicitly. 2014-01-08 10:49:08 -08:00
Nong Li
ab4fb45c62 Added users to session and exec state. 2014-01-08 10:49:04 -08:00
Alan Choi
991db9001b IMPALA-113 Raise error when default order by limit is exceeded 2014-01-08 10:49:03 -08:00
Lenni Kuff
06b5a3fe67 Stop printing the query string in impala-shell when running the 'profile' command
This information is now embedded in the runtime profile so there is no need to print
it twice.
2014-01-08 10:48:55 -08:00
Lenni Kuff
0bcb54fcf8 Add GetRuntimeProfile RPC and enable printing runtime profile from impala-shell 2014-01-08 10:48:44 -08:00
Lenni Kuff
1cd847c856 IMPALA-81: Add support for CREATE/DROP DATABASE/TABLE
This adds Impala support for CREATE/DROP DATABASE/TABLE. With this change, Impala
supports creating tables in the metastore stored as text, sequence, and rc file format.
It currently only supports creating unpartitioned tables and tables stored in HDFS.
2014-01-08 10:48:30 -08:00
ishaan
45297b01ff Fix use db_name in the shell. 2014-01-08 10:48:28 -08:00
ishaan
fa3500eb43 Improve display of query results in the impala shell 2014-01-08 10:48:27 -08:00
ishaan
846301c394 Change make_shell_tarball to be able to build external python modules in the repository. 2014-01-08 10:48:00 -08:00
ishaan
270ca262cf IMPALA-42, Shell: connect with no arguments should fail gracefully. 2014-01-08 10:47:58 -08:00
ishaan
d7a684de3f The impala shell should process multiple queries on the command line. 2014-01-08 10:47:57 -08:00
ishaan
bb9405a0f3 Add exit command to the impala shell 2014-01-08 10:47:55 -08:00
Henry Robinson
7ba437a52e Code changes to build against thrift 0.9.0 in thirdparty/ 2014-01-08 10:47:22 -08:00
Skye Wanderman-Milne
8987593967 IMP-633 File Permission error should be returned the shell and visible to the user
Log that an error occurred opening the file and call get_log in the shell when an insert fails. Don't unregister query in ImpalaServer::Wait so we can recover error message later.
2014-01-08 10:47:19 -08:00
Alan Choi
ff704ce586 IMP-690: impala-shell calls PingImpalaService thrift API to verify
the connected server is an impalad.
2014-01-08 10:47:13 -08:00
ishaan
b19dc9c711 The shell should display verbose output by default. Add a flag to disable. 2014-01-08 10:47:04 -08:00
ishaan
cdc3e16cf7 Add the ability to store cross session command history in the shell. 2014-01-08 10:47:03 -08:00
ishaan
bb66609b6d Store and display results in batches for the shell to not overload memory. 2014-01-08 10:47:00 -08:00
ishaan
0d41ed563c Add command line options to the shell which specified which database to use after connecting. 2014-01-08 10:47:00 -08:00
ishaan
25147054a5 Add user option to refresh catalogue after connection 2014-01-08 10:46:55 -08:00
ishaan
ccfc84fd6a import saslwrapper instead of sasl for Centos/Rhel 2014-01-08 10:46:54 -08:00
Lenni Kuff
36a8d4bcb1 IMP-611: Impala shell ignores TStatus return values 2014-01-08 10:46:53 -08:00
ishaan
ec07adf6ee Enable the shell to consume erros and continue for batch processing. 2014-01-08 10:46:51 -08:00
Lenni Kuff
0098b46907 Bump Impala version to .3 and fix Impala shell version generation 2014-01-08 10:46:49 -08:00
ishaan
66be79e762 Default to port 21000 if no port is specified: On behalf of Ricky Saltzer. 2014-01-08 10:46:40 -08:00
Alan Choi
432a7631af Fix impala_shell and impala_beeswax to use the new key=value query option 2014-01-08 10:46:35 -08:00