hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Rebert (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5326) Operators && and || do not work
Date Thu, 05 Jun 2014 04:15:02 GMT

    [ 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)

Mime
View raw message