I'm a bit confused by the behaviour of create external table
in Hive.
If I do the following:
CREATE EXTERNAL TABLE hive_hbase_table ( key INT,
name map<STRING,STRING>,
info map<STRING,STRING>)
STORED BY 'org.apache.hadoop.hive.hbase. HBaseStorageHandler'
WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,CustomerName:,ContactInfo:")
TBLPROPERTIES ("hbase.table.name" = "customerinfo");
would I be right in thinking that no data is loaded into the table? Rather, the external table merely acts as a view onto the underlying table?
Is this always the case with 'external table', or is this just because I have said 'stored by' and haven't used a 'load' command?
Thanks!