标签:mysql ice register exists class code blog term string
-- mysql方式 create table account_channel(account_ String,channel_ String) as select a.account,b.channel from register a join `install` b on a.device = b.device -- hive方式 create table account_channel ROW FORMAT DELIMITED FIELDS TERMINATED BY ‘^‘ STORED AS TEXTFILE select distinct a.account,b.channel from register a join install b on a.device = b.device;
以覆盖的方式添加数据 INSERT OVERWRITE account_channel2 IF NOT EXISTS select distinct a.account,b.channel from register a join install b on a.device = b.device;
标签:mysql ice register exists class code blog term string
原文地址:http://www.cnblogs.com/rocky-AGE-24/p/7435836.html