摘要: 数据文件内容id=123,name=stevenid=55,name=ray期望输出格式123 steven55 ray1. 创建表, 用正则表达式的形式指定格式create table test1(id int, name string) row format serde 'org... 阅读全文
posted @ 2015-05-14 21:10 Ready! 阅读(1445) 评论(0) 推荐(0) 编辑
摘要: 数据文件内容TEST DATA HEREGood to Go我们准备写一个函数,把所有字符变为小写.1.开发UDFpackage MyTestPackage;import org.apache.hadoop.hive.ql.exec.UDF;import org.apache.hadoop.io.T... 阅读全文
posted @ 2015-05-14 00:02 Ready! 阅读(1068) 评论(0) 推荐(0) 编辑