Amareshwari Sriramadasu created HIVE-5326:
---------------------------------------------
Summary: Operators && and || do not work
Key: HIVE-5326
URL: https://issues.apache.org/jira/browse/HIVE-5326
Project: Hive
Issue Type: Bug
Components: Query Processor
Reporter: Amareshwari Sriramadasu
Though the documentation https://cwiki.apache.org/Hive/languagemanual-udf.html
says they are same as AND and OR, they do not even get parsed. User gets
parsing when they are used.
hive> select key from src where key=a || key =b;
FAILED: Parse Error: line 1:33 cannot recognize input near '|' 'key' '=' in
expression specification
hive> select key from src where key=a && key =b;
FAILED: Parse Error: line 1:33 cannot recognize input near '&' 'key' '=' in
expression specification
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira