上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 40 下一页
摘要: http://bjyzxxds.iteye.com/blog/721198 阅读全文
posted @ 2017-09-18 17:43 余***龙 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 当用字节流输入读取时,将字节流转换成字符串的时候可以用工具判断编码类型或者直接设置编码格式,避免乱码 public class CpdetectorUtils { //获取文本编码 private static final String FILE_ENCODE_TYPE = "file"; //获取 阅读全文
posted @ 2017-09-15 10:54 余***龙 阅读(639) 评论(0) 推荐(0) 编辑
摘要: add jar /home/hjl/sunwg/Lower.jar; create temporary function my_lower as ‘com.example.hive.udf.Lower’; 阅读全文
posted @ 2017-09-13 15:10 余***龙 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 上传jar包到hdfs目录中, hdfs dfs -put /home/user/hive-functions.jar /user/hive/jars/hive-functions.jar create function default.unis_check as 'com.fhpt.hive.fu 阅读全文
posted @ 2017-09-13 12:30 余***龙 阅读(2792) 评论(0) 推荐(0) 编辑
摘要: 亲测可用: http://www.cnblogs.com/freeweb/p/5145921.html 阅读全文
posted @ 2017-09-13 00:46 余***龙 阅读(148) 评论(0) 推荐(0) 编辑
摘要: http://www.jianshu.com/p/9146cec6cc60 阅读全文
posted @ 2017-09-12 16:48 余***龙 阅读(572) 评论(0) 推荐(0) 编辑
摘要: MERGE INTO T T1USING (SELECT a,b FROM T WHERE t.a='1001') T2ON ( T1.a=T2.a)WHEN MATCHED THEN UPDATE SET T1.b = 2WHEN NOT MATCHED THEN INSERT (a,b) VAL 阅读全文
posted @ 2017-09-10 20:34 余***龙 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 参考: http://blog.csdn.net/xinghalo/article/details/52433914 报错参考; http://blog.163.com/artsn@126/blog/static/3653328120110200121481/ http://www.iteye.co 阅读全文
posted @ 2017-09-10 16:33 余***龙 阅读(212) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/guojin08/article/details/38704823 阅读全文
posted @ 2017-09-10 13:26 余***龙 阅读(863) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/xiegh2014/article/details/52343438 阅读全文
posted @ 2017-09-08 17:02 余***龙 阅读(226) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 40 下一页