版权声明:本文为博主原创文章,但知识无界。 https://blog.csdn.net/haohaizijhz/article/details/80989697
create external table hiveTable(key string,birthday string,gender string)
stored by 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
with serdeproperties ("hbase.columns.mapping" = ":key,cf:cl1,cf:cl2")
tblproperties("hbase.table.name" = "hbaseTable");
stored by 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
with serdeproperties ("hbase.columns.mapping" = ":key,cf:cl1,cf:cl2")
tblproperties("hbase.table.name" = "hbaseTable");