Dear Wiki user,

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

The following page has been changed by ZhengShao:
http://wiki.apache.org/hadoop/Hive/HiveQL/UDF

------------------------------------------------------------------------------
  ||A IS NOT NULL||all types||TRUE if expression A evaluates to NULL otherwise 
FALSE||
  ||A LIKE B||strings||TRUE if string A matches the SQL simple regular 
expression B, otherwise FALSE. The comparison is done character by character. 
The _ character in B matches any character in A(similar to . in posix regular 
expressions) while the % character in B matches an arbitrary number of 
characters in A(similar to .* in posix regular expressions) e.g. 'foobar' like 
'foo' evaluates to FALSE where as 'foobar' like 'foo_ _ _' evaluates to TRUE 
and so does 'foobar' like 'foo%'||
  ||A RLIKE B||strings||TRUE if string A matches the Java regular expression 
B(See Java regular expressions syntax), otherwise FALSE e.g. 'foobar' rlike 
'foo' evaluates to FALSE where as 'foobar' rlike '^f.*r$' evaluates to TRUE||
- ||A REGEXP B||strings||Same as RLIKE|| 
+ ||A REGEXP B||strings||Same as RLIKE||
  
  
  === Arithmetic Operators ===

Reply via email to