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 DaveBrondsema
Date Thu, 14 Oct 2010 21:12:16 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 DaveBrondsema.
http://wiki.apache.org/hadoop/Hive/LanguageManual/UDF?action=diff&rev1=55&rev2=56

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

  ||string ||get_json_object(string json_string, string path) ||Extract json object from a
json string based on json path specified, and return json string of the extracted json object.
It will return null if the input json string is invalid ||
  ||string ||space(int n) ||Return a string of n spaces ||
  ||string ||repeat(string str, int n) ||Repeat str n times ||
- ||string ||ascii(string str) ||Returns the numeric value of the first character of str ||
+ ||int ||ascii(string str) ||Returns the numeric value of the first character of str ||
  ||string ||lpad(string str, int len, string pad) ||Returns str, left-padded with pad to
a length of len ||
  ||string ||rpad(string str, int len, string pad) ||Returns str, right-padded with pad to
a length of len ||
  ||array ||split(string str, string pat) ||Split str around pat (pat is a regular expression)
||

Mime
View raw message