06 2022 档案

摘要:SPLIT()函数 语法 split(str string, regex string) -- 使用 regex 分割字符串 str 返回值为一个数组。 基本用法 select split('a,b,c,d', ',') from temp_cwh_test; -- 分割 -- 结果为数组 ["a" 阅读全文
posted @ 2022-06-30 21:27 pandaly 阅读(248) 评论(0) 推荐(0) 编辑
摘要:explode用法 在介绍如何处理之前,我们先来了解下Hive内置的 explode 函数,官方的解释是:explode() takes in an array (or a map) as an input and outputs the elements of the array (map) as 阅读全文
posted @ 2022-06-21 16:13 pandaly 阅读(10770) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示