You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2020/06/19 20:04:00 UTC
[jira] [Resolved] (IMPALA-3712) Not informative syntax error in
UPDATE statement
[ 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)