create [external] table t1(id int, value string) stored by ‘org.apache.hadoop.hive.hbase.HBaseStorageHandler‘ with serdeproperties(‘hbase.column.mapping‘=‘:key,f:name‘);
如果想创建一个指向已经存在的HBase表的话,需要使用external
时间: 2024-11-05 16:32:41
create [external] table t1(id int, value string) stored by ‘org.apache.hadoop.hive.hbase.HBaseStorageHandler‘ with serdeproperties(‘hbase.column.mapping‘=‘:key,f:name‘);
如果想创建一个指向已经存在的HBase表的话,需要使用external