hive建表:
内部表:
#创建内部表
create table LL_test (
id int,
name string,
age int
)
row format delimited fields terminated by '\001'
stored as textfile;
外部表:
#创建外部表
create external table LL_test (
id int,
name string,
age int
)
stored as textfile
location '/hdfs/tmp/data/LL_test';