函数类型
| 函数列表 |
日期函数 |
Date_add、
datediff、 t
o_
date 、fr
om_unixtime 、
unix
_timestamp等
|
字符串函数 |
s
ubs
tr、
concat、
concat_ws、
split、
regexp_
replace、
reg
exp_extract、
get_json
object、 trim、instr、length等
|
数字函数
|
Abs、
ceil 、
floor、
round 、
rand 、
pow 等
|
聚合函数
|
Co
unt
,
min、
avg、
count、
distinct、sum、
group_
concat 等
|
窗口函数
|
Row
_n
umber、 l
ead 、
lag 、rank、
max 、
min 、
count
等(此处的
max
min
count
等不同于聚
合函数的,区别在于此处的计算在当前窗口内)
|
其他函数
|
Coa
le
sce 、
cast、
decode
、行列转换如
lateral
view 、
explode等
|