Bharath Vissapragada has uploaded a new change for review. http://gerrit.cloudera.org:8080/3169
Change subject: IMPALA-2336: Ignore trailing comments in non-interactive mode ...................................................................... IMPALA-2336: Ignore trailing comments in non-interactive mode This patch trims trailing comments while parsing queries in non-interactive mode. Users usually have comments in the end of the script which should be ignored. Without this patch, the script fails with an exception since it expects a valid SQL. The behavior however remains the same with interactive mode. Change-Id: I723763ef7eedd03cf22058fadf06e9673a0d94d2 --- M shell/impala_shell.py M tests/shell/test_file_comments.sql 2 files changed, 8 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/69/3169/1 -- To view, visit http://gerrit.cloudera.org:8080/3169 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I723763ef7eedd03cf22058fadf06e9673a0d94d2 Gerrit-PatchSet: 1 Gerrit-Project: Impala Gerrit-Branch: cdh5-2.6.0_5.8.0 Gerrit-Owner: Bharath Vissapragada <[email protected]>
