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