hive自带的字符串函数
摘要:1. 字符串长度函数:length 语法: length(string A) 返回值: int 说明:返回字符串A的长度 举例: hive> select length('abcedfg') from lxw_dual; 7 2. 字符串反转函数:reverse 语法: reverse(string
阅读全文
posted @
2017-03-31 10:20
山高似水深
阅读(400)
推荐(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('
阅读全文
posted @
2017-03-31 10:18
山高似水深
阅读(8481)
推荐(0) 编辑