hive外部表链接hbase的表

版权声明:本文为博主原创文章,但知识无界。 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");

猜你喜欢

转载自blog.csdn.net/haohaizijhz/article/details/80989697