[jira] [Commented] (HIVE-5326) Operators && and || do not work

2015-02-04 Thread Dongming Liang (JIRA)
erators && and || do not work > --- > > Key: HIVE-5326 > URL: https://issues.apache.org/jira/browse/HIVE-5326 > Project: Hive > Issue Type: Bug > Components: Query Processo

[jira] [Commented] (HIVE-5326) Operators && and || do not work

2014-06-04 Thread Chris Rebert (JIRA)
ttps://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

[jira] [Created] (HIVE-5326) Operators && and || do not work

2013-09-19 Thread Amareshwari Sriramadasu (JIRA)
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 T

Re: Operators && and || do not work

2013-09-19 Thread amareshwari sriramdasu
Yes, should not be because of HIVE-2439. Even in hive-0.7, it is not working, not sure if it worked at any version. Will create a jira to track. Thanks Amareshwari On Fri, Sep 20, 2013 at 6:03 AM, Thiruvel Thirumoolan < thiru...@yahoo-inc.com> wrote: > Hi Amareshwari/Ashutosh, > > Ashutosh is p

Re: Operators && and || do not work

2013-09-19 Thread Thiruvel Thirumoolan
Hi Amareshwari/Ashutosh, Ashutosh is probably right, I doubt if this ever worked. I couldn't find a clientpositive test case which uses && or ||. I also modified a unit test case in Hive9 to use "&&" instead of "AND" and that failed with the same error Amareshwari saw. Hive9 does not have HIVE-24

Re: Operators && and || do not work

2013-09-19 Thread Ashutosh Chauhan
I have not tested it on historical versions, so don't know on which versions it used to work (if ever), but possibly antlr upgrade [1] may have impacted this. [1] : https://issues.apache.org/jira/browse/HIVE-2439 Ashutosh On Thu, Sep 19, 2013 at 4:52 AM, amareshwari sriramdasu < amareshw...@gma

Operators && and || do not work

2013-09-19 Thread amareshwari sriramdasu
Hello, 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. Was that intentional or is it a regression? hive> select key from src where key=a || key =b; FAILED: Parse Err