[ 
https://issues.apache.org/jira/browse/IMPALA-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Armstrong resolved IMPALA-3712.
-----------------------------------
    Resolution: Won't Fix

I think it's generally hard to change errors that are coming from the parser...

> Not informative syntax error in UPDATE statement
> ------------------------------------------------
>
>                 Key: IMPALA-3712
>                 URL: https://issues.apache.org/jira/browse/IMPALA-3712
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 2.6.0
>            Reporter: Dimitris Tsirogiannis
>            Priority: Minor
>              Labels: kudu, usability
>
> A weird error is thrown when anything other than '=' is used in the SET 
> portion of an UPDATE statement. Example:
> {code}
> impala-shell> update t1 set b != 1 where a = 1;
> Query: update t1 set b != 1 where a = 1;
> ERROR: AnalysisException: Syntax error in line 1:
> update t1 set b != 1 where a = 1
>                          ^
> Encountered: Unknown last token with id: 200
> Expected
> CAUSED BY: Exception: Syntax error
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to