Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
- CREATE TABLE foo(rowkey STRING, a STRING ) STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' WITH SERDEPROPERTIES ('hbase.columns.mapping' = ':key,f:c1') TBLPROPERTIES ('hbase.table.name' = 'foo');
- insert into foo values('row0','0'),('row1','1'),('row2','2');
- Move To Hbase-shell
- hbase(main):002:0> snapshot 'foo','testing'
- set hive.hbase.snapshot.name=testing;
- select count FROM foo WHERE rowkey = 'row0';
This should return 1, but doesn't