hive,
一、内部表,先有表,后有数据
外部表,先有数据,后有表
create table stu(id int,name string) ;
在 hadoop hdfs 上新建 aaa 路径,上传 txt
建立外部表
create external table stu(id int ,name string ) row format delimited fields terminater by '/t' location '/aaa'
select * from stu ;
二、
本站文章为和通数据库网友分享或者投稿,欢迎任何形式的转载,但请务必注明出处.
同时文章内容如有侵犯了您的权益,请联系QQ:970679559,我们会在尽快处理。