摘要: hive学习日志hive处理的输入数据一般是巨量的,编写hive查询语句需要一定的mr知识的及过硬的hql知识,有些失误可能会造成几个小时的运行浪费。不登录hive cli运行hql的方法:bin/hive -e 'select * from t1'非交互模式运行hql脚本bin/hive -f hive.sql交互模式运行hql脚本bin/hive -i hive.sqlHQL数据类型data_type : primitive_type | array_type | map_type | struct_typeprimitive_type : TINYINT | SMALLI 阅读全文
posted @ 2013-10-24 10:52 nosqlcn 阅读(467) 评论(0) 推荐(0) 编辑