hive Hsql

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) ;

posted @ 2019-10-17 17:17  Jenkin.K  阅读(143)  评论(0编辑  收藏  举报