Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 0.7
Description
Although impala-shell allows - single-line comments in batch mode via the -f option, it gives 'unrecognized command' errors if such comments are entered at the command prompt:
[localhost:21000] > - foo
Unrecognized command
[localhost:21000] > /* foo */
Unrecognized command
The command shell should allow comments the same way that -f processing does. Sometimes a user running code might copy and paste a range of lines. Sometimes a user conducting interactiv experiments might enter their own commentary during an impala-shell session, e.g. if they were using 'script' to save all the session output to a log file.
I include /* */ comments in this request because IMPALA-191 asks for impala-shell to allow that style of comments also.