Confusion with the external tables in hive
问题 I have created the hive external table using below command: use hive2; create external table depTable (depId int comment 'This is the unique id for each dep', depName string,location string) comment 'department table' row format delimited fields terminated by "," stored as textfile location '/dataDir/'; Now, when I view the HDFS I can see the db but there is no depTable inside the warehouse. [cloudera@quickstart ~]$ hadoop fs -ls /user/hive/warehouse/hive2.db [cloudera@quickstart ~]$ Above