问题导读:
1.创建内部表与外部表的区别是什么?
2.external关键字的作用是什么?
3.外部表与内部表的区别是什么?
4.删除表的时候,内部表与外部表有什么区别?
5.load data local inpath '/home/wyp/data/wyp.txt' into table wyp;的过程是什么样子的?
6.磁盘,hdfs,hive表他们之间的过程是什么样子的?

  • hive> create table wyp(id int,
  •     > name string,
  •     > age int,
  •     > tele string)
  •     > ROW FORMAT DELIMITED
  •     > FIELDS TERMINATED BY '\t'
  •     > STORED AS TEXTFILE;
  • OK
  • Time taken: 0.759 seconds
  • 复制代码

    相关文章: