随笔 - 6  文章 - 129  trackbacks - 0
<2024年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

常用链接

留言簿(14)

随笔档案(6)

文章分类(467)

文章档案(423)

相册

收藏夹(18)

JAVA

搜索

  •  

积分与排名

  • 积分 - 815449
  • 排名 - 49

最新评论

阅读排行榜

评论排行榜

04 2018 档案

spark中split()特殊符号"." "|" "*" "\" "]"

posted @ 2018-04-18 11:15 Ke 阅读(1038) | 评论 (0)  编辑

sqoop 从Oracle导入到hive 列的值带有回车换行导致HIVE表中记录增多

posted @ 2018-04-03 18:01 Ke 阅读(2678) | 评论 (0)  编辑

Sqoop&Hive,解决ERROR hive.HiveConfig: Could not load org.apache.hadoop.hive.conf.HiveConf. Make sure HIVE_CONF_DIR is set correctly.

posted @ 2018-04-03 16:56 Ke 阅读(1935) | 评论 (0)  编辑

时间列转化&&动态指定分区Insert数据
     摘要: --使用 from_unixtime 和 unix_timestamp 将时间列转化成想要的格式
--然后再Insert表,动态指定分区

insert overwrite table partition_user_table partition (dt) select id, account, name, create_time, from_unixtime(unix_timestamp(create_time,'yyyy/mm/dd'),'yyyymmdd') as dt from external_user_table;
  阅读全文

posted @ 2018-04-02 16:47 Ke 阅读(529) | 评论 (0)  编辑