[ https://issues.apache.org/jira/browse/HIVE-5326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14018460#comment-14018460 ]
Chris Rebert commented on HIVE-5326: ------------------------------------ (Relevant docs got moved to https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-LogicalOperators ) > 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 was sent by Atlassian JIRA (v6.2#6252)