Affects Version/s: 1.1.1, 1.2.1, 1.2.2, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.3.4, 2.3.5, 3.1.0, 3.0.0, 3.1.1
Fix Version/s: None
Component/s: HBase Handler
when using snapshot from hive, there are no validation of the existence of the snapshot nor if the snapshot apply to the hive target table.
How to reproduce :
create two hive table backing from hbase:
Insert some stuff in the tables:
from Hbase, create a snapshot :
from beeline some sanity check
Now that the set up is done, the first bug appearing is when setting the snapshot name within hive and query another hbase table:
The problem is the condition that trigger snapshot input format :
The second problem is the pushdown predicate when using the snapshot in a query more complex than a simple select :
the result is not what we expect : all the column that is not rowkey is null.
As a result, we can really use the snapshot feature for use case that need analytic computation (full scan).