选取字段中的某几个字符(substr(字段名,start,n))
start 从第几个开始选,可以为负数,代表从后面开始
n 选取几个
对字段值去重(collect_set(字段名))
返回一个数组类型,里面是去重后的字段数据
函数把字段的值转换为小写(LCASE() )
函数把字段的值转换为小写。
字符查找(instr())
https://www.cnblogs.com/dshore123/p/7813230.html
分割字符串(split())
https://blog.csdn.net/qq_34105362/article/details/80408621
lateral view 与 explode()拆分数组
https://blog.csdn.net/guodong2k/article/details/79459282
row_number() over() 排序功能
https://www.cnblogs.com/Allen-rg/p/9268627.html