Hive中的explode()函数和collect_set()函数

最近在Hive中查询测试数据用到explode()函数比较多,因此今天整理一下,方便之后查阅。sql 1.substr()函数 substr()是字符串截取函数,其语法为: substr(string A, int start, int len),返回值为 string类型。说明:返回字符串A从start位置开始,长度为len的字符串。这里须要注意的是初始位置是从1开始。网络 2.explode(
相关文章
相关标签/搜索