Hello Quanlong Huang, Austin Nobis, Fredy Wijaya, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/13293

to look at the new patch set (#2).

Change subject: IMPALA-8497: dealing with query ends with '\n'
......................................................................

IMPALA-8497: dealing with query ends with '\n'

When sql ends with '\n', impala would throw
ArrayIndexOutOfBoundsException, instead of Syntax error.
This situation usually occured when sql sumbit by hive jdbc in code,
user sometimes have their own BI tools,and may submit sql ends
with '\n' to impala server.

Tests:
  * Add test cases in ParserTest.java

Change-Id: I3f034b351d0468a77773f6482e27ddef818b34d8
---
M fe/src/main/cup/sql-parser.cup
M fe/src/test/java/org/apache/impala/analysis/ParserTest.java
2 files changed, 32 insertions(+), 1 deletion(-)


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3f034b351d0468a77773f6482e27ddef818b34d8
Gerrit-Change-Number: 13293
Gerrit-PatchSet: 2
Gerrit-Owner: wangsheng <[email protected]>
Gerrit-Reviewer: Austin Nobis <[email protected]>
Gerrit-Reviewer: Fredy Wijaya <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>

Reply via email to