![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hive
「已注销」
这个作者很懒,什么都没留下…
展开
-
hive使用总结
1.hive 数据类型http://www.cnblogs.com/sharpxiajun/archive/2013/06/03/3114560.html2.substr('abc',0,2) = abmysql 是从1开始的 select * from online_server where substr(count_time,1,10)='2011-12-11'and(se...2014-01-06 15:00:48 · 1969 阅读 · 0 评论 -
hive中查看表分区目录位置的方法
1.用hive语句describe extended f_gameCenter_user_login_out_day partition(dt = '2014-03-19');2.用hive元数据库mysql查询select a.LOCATIONfrom SDS a left join PARTITIONS bon (a.SD_ID=b.SD_ID)left joi...原创 2014-03-21 17:02:56 · 5400 阅读 · 0 评论 -
从任意hive单表读取并计算数据写入任意mysql单表的hive工具
在基于hive的数据仓库中,每个维度有很多概念分层的场景下,维度和度量的上线和下线在mysql中配置显的很重要。这个hive工具适用于任意多维度,任意多度量值计算。使用方法很简单。用附件中的三个mysql表来配置,然后执行shell程序,从而实现任意hive表向任意mysql表计算并写数据。欢迎试用拍砖。...2014-08-18 18:56:07 · 176 阅读 · 0 评论