LotusScript的函数如下: Function Explode(Byval sInput As String, ByVal sDelimiter As String) As Variant Dim sOutput As String Dim aOutput() As String Dim nPos As Integer Dim nNextPos As I
1.概述 在离线数仓处理通过HQL业务数据时,经常会遇到行转列或者列转行之类的操作,就像concat_ws之类的函数被广泛使用,今天这个也是经常要使用的拓展方法。 2.explode函数 2.1 函数语法 -- explode(a) - separates the elements of array a into multiple rows, or the elements of a
1、 collect_set、collect_list 将分组中的某一列转为一个数组,collect_set去重,collect_list不去重 Select uname,collect_set(bookname) as books from student group by uname 访问:books[0],books[1],books[2]………… 2、lateral view 、explo