Jiawei Wang has uploaded a new patch set (#2). ( 
http://gerrit.cloudera.org:8080/13690 )

Change subject: IMPALA-8652 Illegal delimiter error in shell has unknown error
......................................................................

IMPALA-8652 Illegal delimiter error in shell has unknown error

Problem:
When assign --output_delimiter to invalid value, the validation of
the argument is done only after the query is running, ValueError is
raised in DelimitedOutputFormatter and caught in _exec_stmt in shell

Solution:
Add --output_delimiter option check before impala-shell initialization
Remove delimiter length check in DelimitedOutputFormatter

Testing:
tests/shell/test_shell_commandline.py passed

Change-Id: I7ee2fccd305b104b3aff44c57659b6f14f2f4a05
---
M shell/impala_shell.py
M shell/shell_output.py
2 files changed, 7 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/90/13690/2
--
To view, visit http://gerrit.cloudera.org:8080/13690
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I7ee2fccd305b104b3aff44c57659b6f14f2f4a05
Gerrit-Change-Number: 13690
Gerrit-PatchSet: 2
Gerrit-Owner: Jiawei Wang <jiawei.w...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fwij...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Jiawei Wang <jiawei.w...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com>

Reply via email to