--hive创建表
use database;
drop table hello;
create external table if not exists hello(
a string,
b string,
c string
)partitioned by (date string)
row format delimited fields terminated by '\001' stored as sequencefile
location 'base_path/hello';
load data local inpath '/home/a.txt' into table hello;