码迷,mamicode.com
首页 > 移动开发 > 详细

《android---获取值AndroidManifest.xml中meta-data的value》

时间:2014-05-15 23:58:55      阅读:798      评论:0      收藏:0      [点我收藏+]

标签:des   android   style   c   ext   strong   

hive常用命令


show tables;
列出hive里面所有数据表名

desc userProfile;
显示数据表userProfile的基本表字段及字段type

desc extended trackinfo;
显示数据表trackinfo的详细信息,包括字段说明,数据表等

/usr/local/cloud/hive/bin/hive
进入hive数据库

select attribute_name from pms_attribute where attribute_id=21000 and attribute_value_id=105991;
hive的select操作

select user_id, category_id, catgory_pref, attribute_id, attribute_pref, attribute_value_id, attribute_value_pref from userProfile limit 10;
hive的select操作,只显示10行

/usr/local/cloud/hive/bin/hive -e "select category_id, attribute_id, count(user_id) from userProfile group by category_id, attribute_id" >> /home/deploy/recsys/workspace/ouyangyewei/statistics_data/number_attention_of_attribute_for_mobilePhone.csv;
将sql查询的数据导出到csv文件中

《android---获取值AndroidManifest.xml中meta-data的value》,布布扣,bubuko.com

《android---获取值AndroidManifest.xml中meta-data的value》

标签:des   android   style   c   ext   strong   

原文地址:http://blog.csdn.net/w695050167/article/details/25911433

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!