1.Hive新建分区表 create external table bmal.wall_log_url ( log_time string, log_key string, url_detail string, url_briefly string, url_action string, time_ Read More
posted @ 2021-05-27 14:21 欣欣姐 Views(57) Comments(0) Diggs(0) Edit
过程: 此代码在shell中进行编辑,并采用crontab进行定时运行 1.先将每天的数据导导到一张临时表mal.wall_log_url_tmp表中,此表可为内部表 2.然后再将临时表的数据导入到目标表中 mal.wall_log_url #!/bin/sh # upload logs to hd Read More
posted @ 2021-05-27 11:48 欣欣姐 Views(210) Comments(0) Diggs(0) Edit