Hive使用技巧
摘要:
hive默认查询不会显示列名, 当一个表字段比较多的时候,往往看不出值与列之间的对应关系,对日常查错及定位问题带来不便,像下面这样。hive>>select * from example_table where dt='2012-03-31-02' limit 2;OKNULL 315103 2012-12-24_monthNULL 10106 2013-01-07_dayNULL 15368 2013-01-14_dayNULL 356742 2013-02-28_monthNULL 14253 2013-03-24_dayTime taken: 1.104 se 阅读全文
posted @ 2014-01-06 09:46 diadem_gyl 阅读(1278) 评论(0) 推荐(0)