I can create a hive table like this which takes data from hbase:
CREATE EXTERNAL TABLE app_store_data
(key string,
type string,
name string,
country string,
price float)
STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
WITH SERDEPROPERTIES
("hbase.columns.mapping" = ":key,cf:_type,cf:name, cf:country, cf:price")
TBLPROPERTIES ("hbase.table.name" = "DEBUG_items_app_store");
However, my hbase table contains two types of items, one is 'apps' and other is 'reviews', a key called _type defines which type of item it is. I want to create two separate external tables in hive from same hbase table, one which will take rows with _type = 'review' and other which will take rows which have _type = 'app'. How do i go about doing this?