hive> create external table hive(id string,name string ,ct string)
> stored by 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
> with serdeproperties ("hbase.columns.mapping" = ":key,l:e,l:s")
> tblproperties ("hbase.table.name" = "yunjisuan");
网友评论