create table as select 指定分隔符

create table t_shop_dm.t_tmp_txt
row format delimited fields terminated by ‘\t’ lines terminated by ‘\n’
stored as textfile as select * from t_shop_dm.t_tmp;

猜你喜欢

转载自blog.csdn.net/docsz/article/details/117995889