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] Trivial Update of "Hive/LanguageManual/UDF" by RaghothamMurthy
Date Wed, 08 Jul 2009 21:37:32 GMT
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 RaghothamMurthy:

  === String Functions ===
  The following are built-in String functions are supported in hive:
+ || int || length(string A) || returns the length of the string ||
  ||string ||concat(string A, string B)||returns the string resulting from concatenating B
after A e.g. concat('foo', 'bar') results in 'foobar'||
  ||string ||substr(string A, int start) ||returns the substring of A starting from start
position till the end of string A e.g. concat('foobar', 4) results in 'bar' (see [[http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_substr
| MySQL substr]])||
  ||string ||substr(string A, int start, int len) ||returns the substring of A starting from
start position with length len e.g. concat('foobar', 4, 1) results in 'b' (see [[http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_substr
| MySQL substr]]) ||

View raw message