![](https://img-blog.csdnimg.cn/20190918140145169.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
hive
hive
wz_TXWY
qwertyuiiopasdfghjklzxcvm
展开
-
hive函数全(已翻译)
函数名 含义及实例 ABS abs(x) - 返回x的绝对值 示例: > SELECT abs(0)FROM src LIMIT 1; 0 > SELECT abs(-5)FROM src LIMIT 1; 五 ACOS acos(x) - 如果-1 <= x <= 1则返回x的反余弦值,否则返回NULL 例如: > SELECT acos(转载 2020-07-22 15:17:27 · 1303 阅读 · 0 评论 -
hive函数 -- split 字符串分割函数(基本用法,特殊字符处理,注意项)
hive字符串分割函数split(str, regex) - Splits str around occurances that match regexTime taken: 0.769 seconds, Fetched: 1 row(s)返回值为一个数组a.基本用法:例1:split('a,b,c,d',',')得到的结果:["a","b","c","d"]...原创 2020-03-24 12:18:34 · 6654 阅读 · 0 评论