摘要:
http://bjyzxxds.iteye.com/blog/721198 阅读全文
摘要:
当用字节流输入读取时,将字节流转换成字符串的时候可以用工具判断编码类型或者直接设置编码格式,避免乱码 public class CpdetectorUtils { //获取文本编码 private static final String FILE_ENCODE_TYPE = "file"; //获取 阅读全文
摘要:
add jar /home/hjl/sunwg/Lower.jar; create temporary function my_lower as ‘com.example.hive.udf.Lower’; 阅读全文
摘要:
上传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 阅读全文
摘要:
亲测可用: http://www.cnblogs.com/freeweb/p/5145921.html 阅读全文
摘要:
http://www.jianshu.com/p/9146cec6cc60 阅读全文
摘要:
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 阅读全文
摘要:
参考: http://blog.csdn.net/xinghalo/article/details/52433914 报错参考; http://blog.163.com/artsn@126/blog/static/3653328120110200121481/ http://www.iteye.co 阅读全文
摘要:
http://blog.csdn.net/guojin08/article/details/38704823 阅读全文
摘要:
http://blog.csdn.net/xiegh2014/article/details/52343438 阅读全文