Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Impala 2.2
-
None
Description
Impala includes operators like !, ||, &&, &, |, that are not part of standard SQL. These should probably follow precedence rules similar to the languages from which they're taken, but they often don't currently.
E.g.
!x = y parses as !(x = y) rather than (!x) = y
~x + y parses as
x * y | z parses as x * (y | z) rather than (x * y) | z