Hive 查看函数(udf)定义及示例

来源:互联网 发布:河北网络电视客户端 编辑:程序博客网 时间:2024/05/29 14:48

1、 desc function  split ;

返回 

split(str, regex) - Splits str around occurances that match regex

Time taken: 0.056 seconds 



2、 desc function extended  split ;

返回:

split(str, regex) - Splits str around occurances that match regex
Example:
  > SELECT split('oneAtwoBthreeC', '[ABC]') FROM src LIMIT 1;
  ["one", "two", "three"]

0 0
原创粉丝点击