hive,spark獲取TOPN窗口函數

TOPN row number 說明:  row_number() over ([partition col1] [order by col2])  rank() over ([partition col1] [order by col2])  dense_rank() over ([partition col1] [order by col2])  它們都是根據col1字段分組,而後對col2字
相關文章
相關標籤/搜索