数据分析
文章平均质量分 81
草棚
Github:https://github.com/pengcao
Email:[email protected]
展开
-
hive(version 0.11)中的内置函数row_number() over 函数
这篇文章上接《 hive(0.11版本)里面关于sort by/group by/row_number等内置函数实例》 这一篇主要讲的是hive(version 0.11)中的内置函数row_number() over 函数 hive> select a.sno,a.cno,a.grade from > (select cno,sno,grade,row_number(原创 2015-08-30 18:10:09 · 2387 阅读 · 0 评论 -
hive(0.11版本)里面关于sort by/group by/row_number等内置函数实例
1、在hive中创建以下三个表。 use test; drop table if exists tab_demo_student; CREATE TABLE IF NOT EXISTS tab_demo_student( Sno int, Sname string, Sex string, Sage int, Sdept string) row format delimite转载 2015-08-30 16:55:18 · 2237 阅读 · 0 评论 -
数据分析-pandasql篇
pandasqlby deamon([email protected]) pandasql(http://blog.yhat.com/posts/pandasql-sql-for-pandas-dataframes.html Yhat 写的一个模拟 R 包 sqldf 的Python 库。pandasql 的想法是让Python 运行 SQL。对于那些来自 SQL 背景或仍然【使用 SQL 思考】...原创 2018-06-20 23:52:38 · 1063 阅读 · 0 评论