HIVE 内置函数
字符函数
concat 合并多个字符串
select concat('hello','world');
+-------------+--+
| _c0 |
+-------------+--+
| helloworld |
+-------------+--+
instr
匹配表中name列 字符 i 出现位置大于 2 的列
select name,instr(name,'i') from employee where instr(name,'i')>1;
+----------
原创
2020-12-14 16:50:07 ·
234 阅读 ·
0 评论