show databases;

use flume;

show tables;

desc flume;

alter table table_name add columns(dt string);

alter table jenkintb change dt dt1 string;

 

create table jenkintb (id int, name string) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' STORED AS TEXTFILE;

create table logtest (id int, name string) partitioned by (dt string) ;

相关文章: