You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by skyyws <sk...@163.com> on 2019/05/06 14:22:29 UTC

SQL return ArrayIndexOutOfBoundsException when ends with '\n'

Hi all,
    Recently, I found that when submit sql with jdbc in code, those sqls return "ArrayIndexOutOfBoundsException" instead of "Syntax error”:
show\n
select\n
And here is the JIRA: https://issues.apache.org/jira/browse/IMPALA-8497
I’m not sure is this a bug or design for this?
| |
skyyws
|
|
skyyws@163.com
|


Re: SQL return ArrayIndexOutOfBoundsException when ends with '\n'

Posted by Tim Armstrong <ta...@cloudera.com>.
It definitely looks like a bug to me!

On Mon, May 6, 2019 at 7:22 AM skyyws <sk...@163.com> wrote:

> Hi all,
>     Recently, I found that when submit sql with jdbc in code, those sqls
> return "ArrayIndexOutOfBoundsException" instead of "Syntax error”:
> show\n
> select\n
> And here is the JIRA: https://issues.apache.org/jira/browse/IMPALA-8497
> I’m not sure is this a bug or design for this?
> | |
> skyyws
> |
> |
> skyyws@163.com
> |
>
>