hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hive/LanguageManual/UDF" by PaulYang
Date Fri, 25 Jun 2010 23:25:38 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "Hive/LanguageManual/UDF" page has been changed by PaulYang.
http://wiki.apache.org/hadoop/Hive/LanguageManual/UDF?action=diff&rev1=41&rev2=42

--------------------------------------------------

  
  
  === Logical Operators ===
- The following operators provide support for creating logical expressions. All of them return
boolean TRUE or FALSE depending upon the boolean values of the operands.
+ The following operators provide support for creating logical expressions. All of them return
boolean TRUE, FALSE, or NULL depending upon the boolean values of the operands. 
+ 
  ||<10%>'''Operator''' ||<10%>'''Operand types''' ||'''Description''' ||
  ||A AND B ||boolean ||TRUE if both A and B are TRUE, otherwise FALSE ||
  ||A && B ||boolean ||Same as A AND B ||
  ||A OR B ||boolean ||TRUE if either A or B or both are TRUE, otherwise FALSE ||
  ||A | | B ||boolean ||Same as A OR B ||
- ||NOT A ||boolean ||TRUE if A is FALSE, otherwise FALSE ||
+ ||NOT A ||boolean ||TRUE if A is FALSE or NULL if A is NULL. Otherwise FALSE. ||
  ||! A ||boolean ||Same as NOT A ||
  
  

Mime
View raw message