hive中窗口函数rows between(简略)

rows between …… and ……

unbounded preceding 起始行
unbounded following 结尾行
current row 当前行
1 preceding 前1行
1 following 后1行

示例:
rows between unbounded preceding and unbounded following
表示起始行到末尾行(分组范围内)

猜你喜欢

转载自blog.csdn.net/weixin_43648241/article/details/108864049